Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > 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:
|
|
Not available |
0 |
ssInitializing |
1 |
ssRunning |
2 |
ssFinished |
3 |
ssCanceled |
4 |
Usage
ExecutionState returns zero (0) if the SmartScript object has not been specified to execute (used when listing available SmartScripts).
|