corda / net.corda.core.flows / FlowExternalOperation / execute

execute

abstract fun execute(deduplicationId: String): R

Executes a blocking operation.

The execution of execute will be run on a thread from the node's external process thread pool when called by FlowLogic.await.

Parameters

deduplicationId - If the flow restarts from a checkpoint (due to node restart, or via a visit to the flow hospital following an error) the execute method might be called more than once by the Corda flow state machine. For each duplicate call, the deduplicationId is guaranteed to be the same allowing duplicate requests to be de-duplicated if necessary inside the execute method.