on 04-06-2014 2:41 PM
Hi guys,
i am little bit confused about following requirement. Normally is it easy to explain. But in interface determination expression it doesn't work for me.
STATUS | TYPE | TYPE | MAPPING |
NOT A | NOT QQ | NOT QA | A |
A | NOT QQ | NOT QA | B |
NOT A | QA | C | |
A | QA | D |
I got following error message for;
STATUS | TYPE |
B |
Inbound interface found several times (for same sender and receiver) for the outbound interface
My xpath expression was;
(/Status!="A") and (/Type=!"QQ" or /Type=!"QA") EX
(/Status="A") and (/Type=!"QQ" or /Type=!"QA") EX
(/Status!="A") and (/Type="QQ" or /Type="QA") EX
(/Status="A") and (/Type="QQ" or /Type="QA") EX
Hi Peter,
Please modify the xpath condition as below
(/Status!="A") and (/Type=!"QQ") AND (/Status!="A") and (/Type=!"QA") EX
(/Status="A") and (/Type=!"QQ") AND (/Status="A") and (/Type=!"QA") EX
(/Status!="A") and (/Type="QQ" or /Type="QA") EX
(/Status="A") and (/Type="QQ" or /Type="QA") EX
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
The condition is good for this scenario, can you please check if other scenario is working?
the problem may be the namespace. you can try with simple condition first then try with whole logic.
(/Status!="A") and (/Type=!"QQ") AND (/Status!="A") and (/Type=!"QA") EX
(/Status="A") and (/Type=!"QQ") AND (/Status="A") and (/Type=!"QA") EX
(/Status!="A") and (/Type="QQ" or /Type="QA") EX
(/Status="A") and (/Type="QQ" or /Type="QA") EX
Hi
one of my example was Status A and the Type was QQ
the routing rules as follow;
/Header[(Status ="A" and Type !="QQ" or Type !="QA")] EX
/Header[(Status ="A" and Type ="QQ" or Type ="QA")] EX
But again:
Inbound interface found several times (for same sender and receiver) for the outbound interface
Hi Peter,
the below routing rule is not correct
/Header[(Status ="A" and Type !="QQ" or Type !="QA")] EX
/Header[(Status ="A" and Type ="QQ" or Type ="QA")] EX
The correct routing rule is
/Header[(Status ="A" and not (Type ="QQ" or Type ="QA"))] EX
/Header[(Status ="A" and (Type ="QQ" or Type ="QA"))] EX
regards,
Harish
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
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.