EAI Script step is not being processed and a message such as “1869-Procedure:LEBENWS2 EAI Step:SC02 Case:673277 EAI plug-in EAIRun_Call() failed, error: Error processing command expression“ is written to the sw_warn log file.

EAI Script step is not being processed and a message such as “1869-Procedure:LEBENWS2 EAI Step:SC02 Case:673277 EAI plug-in EAIRun_Call() failed, error: Error processing command expression“ is written to the sw_warn log file.

book

Article ID: KB0084404

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) -
Not Applicable -

Description

Resolution:
Description:
==========
When using TIBCO iProcess Engine and a procedure has been defined to process an EAI Script step it is possible that the step will fail to process and a message is written to the sw_warn log file.

Environment:
==========
All supported TIBCO iProcess Engines.
All supported platforms and databases.
  
Symptoms:
=========
The EAI Script step will fail to complete and the following message will be written to the sw_warn log file.

2011/07/04 11:50:05.492976(BG:3:10192:2:LEBENWS2:673277:SC02:pro:proexp.c:80020:662): 1644-Invalid field Value: Procedure &ltLEBENWS2>, Case &lt673277>, Step &ltSC02>: &ltLEBENWS2,?>
2011/07/04 11:50:05.493484(BG:3:10192:2:LEBENWS2:673277:SC02:pro:proeai.c:82346:3610): 1869-Procedure:LEBENWS2 EAI Step:SC02 Case:673277 EAI plug-in EAIRun_Call() failed, error: Error processing command expression 'PDNDURCHLAEUFE := PDNDURCHLAEUFE + 1'
2011/07/04 11:50:05.499887(BG:3:10192:0:LEBENWS2:673277:SC02:pro:cplmain.c:81512:2388): 1631-WARNING: &ltCPLInstruction - Error> <-2> &ltPROCCASE> &ltPROCCASE^ipe10dev^152:n^-1^^673277^673277^S00300>
2011/07/04 11:50:05.500340(BG:3:10192:2:LEBENWS2:673277:SC02:pro:swbgmbd.c:82103:1113): 1864-Transaction failure : Reason code = -2

Cause:
=====
This issue is caused by the field definition being too small. In this instance the field PDNDURCHLAEUFE was defined as a numeric with a length of 1. The field already had a value of 9 so when the script tried to increment the field value to 10 it failed because of the length of the field.

Resolution:
=========
Either increase the length of the appropriate field to allow the larger value to be added or implement logic to the process so that the field cannot exceed its maximum value.

Issue/Introduction

EAI Script step is not being processed and a message such as “1869-Procedure:LEBENWS2 EAI Step:SC02 Case:673277 EAI plug-in EAIRun_Call() failed, error: Error processing command expression“ is written to the sw_warn log file.