on 05-05-2009 8:16 AM
Hi,
In IDOC to file, I need to collect the IDOC based on time.Before collecting I need to check for a particular node presence; only If that node exist it has to collect the IDOC or else it has to trigger an alert from BPM.I have done all these things my problem is with the condition editor.
Inside BPM I have used switch statement to check whether segment "ORDRSP.ORDERS05/IDOC/EIEDP01" exist or not.
In one of the Switch branch condition Editor
-> I have created a condition variable(for example COND_VAR and I have given the Xpath expression(points to the segment ORDRSP.ORDERS05/IDOC/EIEDP01).
-> In the left side section of the condition editor I have mentioned the actual condition
EX(COND_VAR)
Now the problem is even though the condition is false i.e the segment is not there in the input data its going to the true branch.
can anyone tell me how this exist function works.
Regards,
Yuga
EX(COND_VAR)
try this format: EX COND_VAR
I am using this and able to get the desired result....
If there are multiple conditions then (EX COND_VAR)|(etc...etc.....
if i am not wrong a similar condition is visible as comment...when you open the condition editor for the very first time..
you have properly defined the condition variable :)...it does not need any change....
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> In IDOC to file, I need to collect the IDOC based on time.Before collecting I need to check for a particular node presence; only If that node exist it has to collect the IDOC or else it has to trigger an alert from BPM.I have done all these things my problem is with the condition editor.
>
>
> Inside BPM I have used switch statement to check whether segment "ORDRSP.ORDERS05/IDOC/EIEDP01" exist or not.
>
> In one of the Switch branch condition Editor
> -> I have created a condition variable(for example COND_VAR and I have given the Xpath expression(points to the segment ORDRSP.ORDERS05/IDOC/EIEDP01).
> -> In the left side section of the condition editor I have mentioned the actual condition
> EX(COND_VAR)
>
>
> Now the problem is even though the condition is false i.e the segment is not there in the input data its going to the true branch.
>
> can anyone tell me how this exist function works.
>
>
> Regards,
> Yuga
1. Did you check the multiline option inside the condition editor?
2. also try to edit your condition as /p1:ORDRSP.ORDERS05/IDOC[EIEDP01] EX
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.