Output

A workflow can have any number of output parameters. Even though output parameters are specified, they make sense in some situations only.

When a workflow is called directly or through the SpawnWorkflow activity, no outputs are returned to the caller, all outputs are discarded. However, when the workflow executes as subflow, the output parameters are passed to the caller workflow (in SYNCHR mode only).

The output parameters are also evaluated similar to input parameters. Output parameters of the subflow are matched by name with the output parameters specified in the calling InitiateSubFlow activity. Only matched parameters are transferred.

  • Asynchronous mode: When asynchronous mode of initiation is specified, the parent or calling workflow does not receive any output back from the subflow.
  • Synchronous mode: When synchronous mode of initiation is specified, all output parameters can be returned. The first document output parameter is also set as OutDocument.

All parameters specified as output parameters in the InitiateSubflow activity can be received from the subflow.