book
Article ID: KB0085741
calendar_today
Updated On:
Description
Resolution:
Description:
============
Data field(s) are not updated correctly when attempting to change the field(s) in a called script using the "CALL" or "SCRIPT" functions, such as "CALL("SCRIPTNAME");"
Environment:
==========
All supported variants of TIBCO iProcess Engine (iPE) version 11.1.1.
All supported databases
All supported operating systems
Symptoms:
=========
Case data fields which get updated in called scripts do not seem to get updated correctly. A message similar to the following is reported in the SWDIR/logs/sw_warn.log file:
2010/10/05 19:03:37.052473(BG:2:25066:2:PROCNAME:214554:SCRIPTNAME:pro:/expstk.c:82474:3523): 1954-Script expression @ line 7 failed: IF(SUPPRESSINFO="N" OR (SU
PPRESSINFO="Y" AND SHOWSUPPRESSINF="Y"))
Cause:
=====
This issue is the result of a code change made to resolve another issue in the 11.1 Service Pack 1 release.
Resolution:
=========
The workaround is that all key words defined in the script such as IF, ENDIF, ELSIF, and so on, should be followed by a blank space.
For example, using the error message above from the sw_warn.log file the script has the line:-
IF(SUPPRESSINFO="N" OR (SUPPRESSINFO="Y" AND SHOWSUPPRESSINF="Y"))
This should be changed to:-
IF (SUPPRESSINFO="N" OR (SUPPRESSINFO="Y" AND SHOWSUPPRESSINF="Y"))
An example of the ENDIF should be as follows:-
ENDIF ;
And not:-
ENDIF;
Alternatively, upgrade to a version of iPE with Modification Request IPE-1539 included, currently 11.1.2 or later. Also required with iPE 11.1.2 will be TIBCO iProcess Workspace (Windows) version 11.1.1.11 or later.
Issue/Introduction
Called Scripts do not execute correctly in TIBCO iProcess Engine version 11.1.1.