Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > 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. The value returned 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 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.