Posted: Thu Jun 15, 2006 3:27 pm Post subject: [SOLVED]FMC00125E Incorrect filter specification
Novice
Joined: 08 Dec 2005 Posts: 22
Can anybody please tell me whats wrong with the following filter specification.
NAME='ABPW' AND PROCESS_NAME='ABPW$AAAAAQFLRHcAAAAAAAAAAA==' AND OWNER = 'Batch'
I get the following error when I specify the above filter in the queryWorkItems() method in my program to fetch the workitems.
*************************************************************
com.ibm.workflow.api.FmcException:
FMC38009E MQSeries Workflow API Error :
API Return Code : 125
Error Origin : e:\v350\src\fmcjcesv.cxx, line 3589
Error Message : FMC00125E Incorrect filter specification
Nested Exception : None
*************************************************************
My java code which forms this filter dynamically for queryWorkItems is
strBuff = new StringBuffer();
strBuff.append(NAME=');
strBuff.append(strActivityName);
strBuff.append("' AND PROCESS_NAME='");
strBuff.append(strProcInstName);
strBuff.append("' AND OWNER = '");
strBuff.append(pStrUserId);
strBuff.append("'");
where strActivityName here is ABPW and strProcInstName is ABPW$AAAAAQFLRHcAAAAAAAAAAA==
The above code was working fine since 6 months and we have this error all of a sudden and I didnt find much in the programming guide. Is there anything that I missed out. I tried running the code 3 times already for no success.
Would appreciate if somebody can direct me to a place where I can get more information on this?
I am pretty sure that 'Batch' is not a valid MQWF UserID as it contains lower case characters. Not sure whether this the cause for RC 125 but it is worth a try. If this doesn't help you need to take a client trace and search for RC=125 to get more info. This error message has been improved with MQWF version 3.6.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum