on 10-30-2008 12:28 PM
Hi Experts,
I am working on BPM. In the loop I am giving the condition as
(ForSyncResponse./p1:MT_Test_JDBC_Req_response/row_response/Row/indicator u2260 9)
If indication not equal to the 9(Integer) then it should come out of the loop otherwise loop needs to be repeat( Iam getting this data from the database through Send Synch step). When ever iam sending data other than 9 then it repeating if I send 9 also even though the loop condition is not satisfying and its keep on repeating the loop. Can you please let me know what might be ther problem.
Thanks & Regards,
Purushotham
Try like this,
Create the following expression in the expression editor:
/MT_Test_JDBC_Req_response/row_response[indicator != 9]
Using the condition editor, you then formulate the following condition:
(/MT_Test_JDBC_Req_response/row_response[indicator != 9] EX)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasadh,
I am able to give thie "Create the following expression in the expression editor:
/MT_Test_JDBC_Req_response/row_responseindicator != 9" expression
How can i give the second"(/MT_Test_JDBC_Req_response/row_responseindicator != 9 EX)" condition??
I tried with giving the AND but it is not allowing me to enter the 9.
Can you please let me know.
Thanks & Regards,
Purushotham
Purusoth,
Did you solved this issue? Could you please give more insight about the problem?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Not yet resolved. Actually i am getting the data from the database through Synchronous Send step. In the response i am getting the data.I have to check one of the field.If that field is equal to 9 then loop should come outside and i need to do other operations. Even i am getting the data in the response but loop condition is not checking. Its strange ....
Can anybody have idea?
Thanks & Regards,
Purushotham
Hi...
Check what is the datatype u have given for the "indicator". If it is integer or string, in loop condition editor, give the constant "9" which is string. Check again you have defined the condition correctly. Problem will be in the condition editor only.
Regards,
Leela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BPM's loop condition is a "while" condition, meaning that while your condition is true, the loop will be executed.
Try to revise your logic based on that.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try to give a string "9" instead of numeric 9...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.