A "Variable not defined" error can be reported in TIBCO Business Studio for User Task Scripts even when the variable is defined as one of the Data Fields for the process.
book
Article ID: KB0088240
calendar_today
Updated On:
Products
Versions
TIBCO iProcess Business Studio
-
Not Applicable
-
Description
Resolution: Description: ============
When Data Fields are created in a Process and then used in a script for a User Tasks in the process, a "Variable not defined" error may be encountered.
Environment: ============ o TIBCO Business Studio 3.3.0
Symptoms: ========= There will be errors reported in the "Problems" section of TIBCO Business Studio for a script on a User Task where a variable is being used, saying that the variable is "not defined". An example from a Submit Script is shown below:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++ iProcess Engine 11.0.1 : SubmitScript::At Line:1 column:17, Variable ADJUDICATORUSER not defined (I90SQA:AdjnDash) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cause: ====== The error is caused because the variable is not added to the Process Interface Parameters for the User Task.
Resolution: =========
Execute the following steps:
- Select the "User Task" for the "Process" in TIBCO Business Studio. - Next click on the Interface tab in the Properties section. - Click the "+" button to add a new process interface parameter. - Pick the desired variable from the list and add it to the list of parameters. - Save the project and verify that there are no more "variable not found" errors.
Issue/Introduction
A "Variable not defined" error can be reported in TIBCO Business Studio for User Task Scripts even when the variable is defined as one of the Data Fields for the process.