End execution
Last updated
Was this helpful?
Last updated
Was this helpful?
The End Execution action node is used to end the execution of an action. When an End Execution is triggered at runtime, other action nodes placed after that End Execution will not run. If the action containing the End Execution action node is run from another action via Run Other Action it will continue to execute the action it was called from.
In this example, End Execution is used to create an if-else structure.
If the Order is new, it is updated, persisted and then the action ends.
If the Order is in preparation, it is updated, read to another data source and then the action ends.
If the Order is delivered, it is read to another data source and then a dialog is opened.
Using this structure, the status of the Order can be updated inside the action without impacting the evaluation of the conditions.