My Oracle Support Banner

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 OCTOBER 28, 2022

Applies to:

Siebel SmartScript - Version 15.18 [IP2015] and later
Information in this document applies to any platform.

Symptoms

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:

[1] A scripting error occurred during script execution (event: Question_Enter).

Please notify your system administrator. (SBL-CSP-00231)
[2] Unhandled Exception: 'GetQuestion' in not defined

SmartScriptQuestion.Question_Enter line:5


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 8.0.0.13 Version (Doc ID 1614440.1)

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.