Script_PreFinish
Script_PreFinish is called when a script is finished.
Syntax
Script_PreFinish
Returns
An enumerated value indicating one of the script state indicators:
| Value | Indicator | Description | 
|---|---|---|
| 0 | ContinueOperation | Continue to Script_Finish | 
| 1 | CancelOperation | Cancel operation | 
| 2 | OperationComplete | Skip Script_Finish | 
Usage
Script_PreFinish is called when the user wants to finish the SmartScript (by clicking the Finish button). This is a good place to check additional constraints on the SmartScript that were not set up through configuration. Script_PreFinish is declared as an integer.