Skip to content

Workflow End#

end

The task End is used to set the ending point of a sub-workflow execution.

image-20191226195852510

Inputs#

Name Data Type Values IsTrigger Description
Auto Input None Create a new Input based on the origin of the link
Success Boolean True Terminate the execution of the sub-workflow with a Success result
Error Object True Terminate the execution of the sub-workflow with an Error result

Outputs#

Name Data Type Values Description
<custom list> <custom> Custom Inputs that will transfer the values to the outputs of the Workflow task that will use the sub-workflow

Automatic Outputs#

This Task has implemented an automatic creation of dynamic inputs that dramatically reduce the configuration time.

The behavior is rather simple. Just link to the Link here to add new input and a copy of the origin is created (same name and data type as output), and a link between them. Also, you can drag the Link from here to add new output into an input of another task to create a new input of the same name and type, but no link between them.

End_Auto_Mini

Settings#

In the General Tab, you have the usual settings.

image-20191226200646249

In the Inputs Tab, you have the following options settings:

Name Data Type Values Default Description
Name String Name of the input
Friendly Name String Text that will be displayed in the input
Type enum Long
Decimal
DateTime
Boolean
String
Integer
...
Type of the input value
Collection Type enum None
Array
Map
The Collection type of the input

image-20191226200733833

Behavior#

When an output value is calculated, it's value is stored until either a Success or an Error is set.

At that time, everything collected during the execution of the sub-workflow will be output.

Remarks#

This task doesn't have any Output. The Auto output exists only to allow creation of inputs based on other tasks inputs.

Multiple instances of End tasks can be placed in the sub-workflow, however, the execution will end the moment a Success or and Error is defined. All values from the different tasks will be collected to transfer the values to the output of the Workflow task.