Siebel SmartScript Branching Using eScript Code Example On Bookshelf Is Not Working, Getting Error 'Unhandled Exception: 'GetQuestion' in not defined"
(Doc ID 2859606.1)
Last updated on APRIL 01, 2022
Applies to:Siebel SmartScript - Version 15.18 [IP2015] and later
Information in this document applies to any platform.
When attempting to create a SmartScript with a more complex branching that depends on the multiple questions on a page and using eScript Code to decide the path to following the following error is received by the end user on the Siebel User Interface:
Please notify your system administrator. (SBL-CSP-00231)
 Unhandled Exception: 'GetQuestion' in not defined
To implement the complex branching a 4th hidden question was used on the first page with the following code on Question_Enter event:
The issue can be reproduced at will using the custom SmartScript above or even Bookshelf version:
1. Login to Siebel Application
2. Navigate to Site Map > SmartScripts > Scripts
3. Drill down on the test SmartScript
4. SmartScript is launched
5. Answer the 3 question on first page
6. Click on Next
7. The error above show up
8. Click Ok for the error message
9. User is send to default next page/question, the logic does not take effect.
The usage of a hidden question to implement the branching code is based on Document Smart Script Complex Branching Issues On 18.104.22.168 Version (Doc ID 1614440.1)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document