When it is launched
The script is launched prior to closing the current task.- If the CanClose.Value property is set to true, the task will be closed after the script execution.
- If the CanClose.Value property is set to false, the task will remain open.
