Instance Termination Script
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.
Copyright © 2010 - 2023 Emakin. All rights reserved.