Skip to main content

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.
By default, the value of the CanClose parameter is true.

Parameters

NameTypeAccessDescription
CanCloseIBooleanRead/writeSpecifies whether to close the task
ContextITaskWindowRead/writeThe task window