Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Standard Methods for All SmartScripts >

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 requests (by clicking the Finish button) that the script be finished. This is a good place to check additional constraints on the script that were not set up through configuration. Script_PreFinish is declared as an integer.

Siebel SmartScript Administration Guide