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

GetPriorValue


If the user has reached the question more than once, GetPriorValue returns the previous answer.

Syntax

GetPriorValue

Returns

The prior value of the question, as a string

Usage

GetPriorValue returns the value for this question before the user reached it most recently. This will be either the value returned by GetInitialValue, if the user has never entered the question, or the value returned by GetCurrentValue, after the user left it the last time. This function is usually used only for the current question. GetPriorValue is declared as a string.

See Also

GetCurrentValue and GetInitialValue.


 Siebel SmartScript Administration Guide 
 Published: 23 June 2003