Workflow#
The task Workflow is used to execute a subworkflow.
Inputs#
| Name | Data Type | Values | IsTrigger | Description |
|---|---|---|---|---|
<custom list> | <custom> | No | Inputs defined in the Start tasks of the sub-workflow | |
| Activate | Any | Yes | Activates the execution of the sub-workflow |
Outputs#
| Name | Data Type | Values | Description |
|---|---|---|---|
<custom list> | <custom> | Outputs defined in the End tasks of the sub-workflow | |
| Success | Boolean | Emitted when a Success value of an End task is set | |
| Error | Error | Emitted when an Error value of an End task is set |
Settings#
In the General Tab, you have the usual settings and the following options settings:
| Name | Data Type | Values | Default | Description |
|---|---|---|---|---|
| Automation Workflow | Workflow | Page from the current controller that will be used as sub-workflow. Mut have at least one Start and one End tasks to define beginning and end of execution | ||
| Expiration Time | Integer | 60000 | Maximum ammount of time (in milliseconds) to keep the inputs until the Activate is triggered. Set to 0 to disable timeout. | |
| Execution Expiration Time | Integer | 120000 | Maximum ammount of time (in milliseconds) to allow the execution of the sub-workflow to finish before stopping it. Set to 0 to disable timeout. | |
| Only Execute workflow when all inputs are defined | Boolean | false | Only start execution when all inputs are filled within the same zone/context |
Behavior#
When activated, a new execution context/instance/zone is created using only the tasks of the sub-workflow (represented by a specific page of the controller).
All outputs of the tasks Start of the sub-workflow are triggered with the values set in the Workflow task.
When the first End task Success or Error is defined, the entire execution is stopped, all outputs defined on each of the End tasks is collected and finally, the outputs of the Workflow are emitted using the starting execution context/zone.
If the execution takes more than the Execution Expiration Timeout setting, the entire execution is halted and an error is emitted.
Depending on the settings, the execution will start when the Activate input is triggered immediately or only if all inputs are filled.
If during the specified timeout period the Activate is not triggered, all the input values received will be discarded.
Remarks#
The Automation Workflow selected, must have at least one Start and at least one End tasks in the Workflow Page selected.

