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 3 Next »

Instance closing script is executed for every normally closed (by user action or deadline) workflow instances. This script may be useful to export the process data to any external system.

When the workflow is terminated by administrator this script is not executed. Please use the Instance Termination Script to handle the termination events.

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

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

  • No labels