Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Instance termination script is executed for every terminated (forced by the administrative or the system) workflow instances. This script may be useful to rollback any Instance Opening Script operations.

If any error occurs while executing the script workflow, termination is aborted, and all operations are rollbacked.

In this script, you can use the $Instance to get or set initiated instance properties, $Initiator variable specifies who initiated the workflow instance, but it can be null for the module type tasks. You can also refer to the right panel to list the available scripting objects.

Unlike task prework or postwork scripts, the $Xml variable is attached to the data model root element, not to the pool element.

  • No labels