Skip to main content
Version: Current

Call Sub-Workflow

Description​

With this activity, you can execute any sub-workflow present in the given Agent.


Common settings​

Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.

Design-Time Configuration​

Display Text​

Specify the activity name that shows in your process.

Workflow​

Choose a Sub-Workflow to execute.

Execution Strategy​

Choose the appropriate execution strategy. The following options are available.

OptionDescription
SynchronousThe process starts the sub-workflow and waits for it to finish before continuing.
AsynchronousThe process starts the sub-workflow's execution without waiting for it to finish.

Naming Convention​

Defines the naming format used for the sub-workflow instance.

  • A default naming convention is applied automatically.
  • Useful for monitoring and tracking workflow executions.

Input Parameters​

Through input parameters, you can map the main workflow and sub-workflow variables.

Arguments​

Allows the caller workflow to pass input values and retrieve output values from the sub-workflow.

  • Configured using a Schema Mapper for field-to-field mapping.
  • Ensures controlled data exchange between workflows.

Execution settings​

Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.

Example: Pass a value to a sub-workflow​

Define a text input and a text output in the selected sub-workflow's Workflow Parameters. Map the caller's order number to the input in Arguments, and map the returned result to the caller's destination field.

Choose Synchronous when the next caller activity needs the returned value. Choose Asynchronous only when the caller can continue without waiting for the sub-workflow. Set the result in the sub-workflow with Set Workflow Output.