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

GetCurrentValue


GetCurrentValue returns the current answer to the current question.

Syntax

GetCurrentValue

Returns

The current value entered in response to the current question as a string.

Usage

GetCurrentValue returns the current value entered by the user for this question. This may have changed many times as the user worked through the script. GetCurrentValue is declared as a string.

Siebel VB Example

Sub Question_Leave

if GetCurrentValue() = "Y" then

Script.Finish
TheApplication.InvokeMethod "RunSmartScript", "Voicemail", "", "ENU", "USD"

end if

See Also

GetInitialValue, GetPriorValue, and SetCurrentValue.

Siebel SmartScript Administration Guide Copyright © 2006, Oracle. All rights reserved.