on 02-28-2014 10:42 AM
my requiremant is one sender and based on receiver detremination condition it should go to many receivers.
Just to elaborate the requirement.
Observe the Xpath example below:
<Identifier>
<Name>abc</Name>
<Value>first</Value>
</Identifier>
<Identifier>
<Name>cdf</Name>
<Value>come</Value>
</Identifier>
<Identifier>
<Name>ten</Name>
<Value>go</Value>
</Identifier>
Now am using the following Xpath.
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[1] ≈ abc AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[1] ≈ first AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[2] ≈ cdf AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[2] ≈ come AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[3] ≈ ten AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[3] ≈ go
any suggestions for the correct xpath are welcome
thanks in advance
Hi Mohammed,
Have you checked the multiline checkbox in the condition editor to check all the occurrences?
Are you sure that you need the AND operator and not the OR operator?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The correct xpath should be like this
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name ≈ abc AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value ≈ first AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier[1]/Name ≈ cdf AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier[1]/Value ≈ come AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier[2]/Name ≈ ten AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier[2]/Value ≈ go
Hi,
so you want to trigger based on the below condition
Receiver 1
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[1] ≈ abc AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[1] ≈ first or
Receiver 2
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[2] ≈ cdf AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[2] ≈ come or
receiver 3
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Name[3] ≈ ten AND
/p1:MT_fd/MessageHeader/OtherArea/Identifier/Value[3] ≈ go
so please apply this condition to different receiver service. Or if it is for one then put or in between the condition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
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.