Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Methods >

ExecutionState


ExecutionState returns the current state of a running SmartScript.

Syntax

ExecutionState

Returns

A representation of the current state of the SmartScript, as an integer value. The values are represented by the following constants, each of which is followed by its integer equivalent:

Script State
Integer Value
Not available
0
ssInitializing
1
ssRunning
2
ssFinished
3
ssCanceled
4

Usage

ExecutionState returns 0 if the SmartScript object has not been set up for execution (used when listing available SmartScripts).


 Siebel SmartScript Administration Guide 
 Published: 23 June 2003