End
This control allows you stop the automation before the end of your workflow.
Using the End Control
-
In your automation, on the right-hand side panel, go to the Controls section.

-
Drag and drop End in a loop, in the workflow of your automation.
-
Optional: Set an output parameter.
The output parameter you define for the main automation, is the same as the output parameter for the End control. However, you can set different values for both the output parameters.
-
To add an output parameter for the automation, go to the Input/Output section and click Add new output parameter.

-
Enter a name and a description.
-
Click on the dropdown menu to select a type (simple type or data type).
-
-
Save your automation.
Use Case Example
The following use case demonstrates how to set a different output parameter value for the End control.
Prerequisite
You have created the automation an automation.
Procedure
-
In your automation, on the right-hand side panel, go the the Controls section.
-
Drag and drop the Condition control in your workflow.
-
Drag and drop the End control on the default condition branch.

If the workflow of the automation goes through the default branch, the automation will stop instantly.
-
In the Input/Output section of your automation, click Add new output parameter.
-
Enter the name status.
-
Select the type string.
-
Save your automation.
As a result, the output parameters of the main automation and the output parameters of the End control call for a status.
-
-
Click on the end nodes to set the output parameters values:
-
For the End node, the user sets the value Error.

-
For the main automation, the user sets the value Ok.

-
-
Save your automation.
Result
If the automation goes through the default condition branch, the automation stops instantly with the output parameter Error. If not, the automation ends with the output parameter Ok.