Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Standard Methods for All SmartScripts >
Script_Cancel handles post-processing when a script is canceled.
This post-event is called to allow any last-minute cleanup or post-processing when the script is canceled. Script_Cancel will not be called if Cancel is called from the Script_Open event. If an error is raised during the Script_Cancel procedure, the error will be rolled back.