on 02-11-2009 6:42 PM
Hi,
I'm receiveing a message in BPM which could have two tags, for sending of message type 1 and for sending of message type 2. All combinations are possible, send only to A, send only to B, or send to A and to B.
So I defined fork and after fork for branch 1, switch, transformation and send and also for branch 2.
What I'm doing in both switches is, that with help of XPath and
count(//tag1) != 0 EX
, try to figure out, is there something to map to system A. Also is for system B in other switch, only is tag 2 important.
So problem is that this sometimes works well( not so often!!!) and much more is not functioning? Is there something wrong?
br
mario
Hi Mario,
count() is a XPath function, it counts all nodes for the given expression. //tag1 will take ALL nodes with name "tag1" of the whole XML message. You store that at left side of the Expression Editor, choose equal or "not eqal" and a right side constant '0'.
You can follow the switch in BPM Monitoring (click on Link PE in SXMB_MONI).
If BPM results are confusing, it could be a cache problem (SXI_CACHE), just refresh it and control return code 0. Or sometimes old work items disturb, you can delete them in SWWL.
Regards,
Udo
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 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.