Bookshelf Home | Contents | Index | PDF |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > SmartScript Methods > GetSessionIdGetSessionId returns a row ID of the session table where the script answers are stored. SyntaxReturnsThe row ID of the session table where the script answers are stored according to the script's administration settings (Save Session column on the script and Save Answer Table flag on the script's questions). It returns a string. It is empty if the script is not set to save the session, or if GetSessionId is called from incorrect events. UsageGetSessionId is declared as a string. Call this method from either Script_Finish or Script_Save events. Siebel VB ExampleScriptSessionId = GetSessionId() Siebel eScript ExampleScriptSessionId = GetSessionId(); NOTE: In Siebel eScript make sure to include the Header and Footer "function Script_Finish() {" and "}" or else the script executes without returning a value from GetSessionId(). |
Siebel SmartScript Administration Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |