net.corda.node.api / APIServer / provideFlowResponse

provideFlowResponse

abstract fun provideFlowResponse(flow: FlowInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit

Provide the response that a flow is waiting for.

Parameters

flow - Should refer to a previously supplied FlowRequiringAttention.

stepId - Which step of the flow are we referring too.

choice - Should be one of the choices presented in the FlowRequiringAttention.

args - Any arguments required.