Skip to Content
avatar image
Former Member

Determine receiver by multiple fields from source payload

Dear experts,

We can add condition in Receiver Determination to achieve validation for each receiver, for example, usually we will have a check of some specific source fields and distinguish different receiver should be sent:

fieldA = "Receiver A" and/or field = "fieldB" then send this message to Receiver.

However, the right operator of above method requires a specific fixed given value only("Receiver A" here), it can't be fulfilled with a field from source payload also.

What if the requirement like this -- if fieldA equals fieldB, then send to Receiver, else, not send.

My suggestion is handle it in Mapping, add fieldA = fieldB check in the generation logic of output message, so if they aren't equivalent, output message will not be generated, henceno message would be sent to Receiver.

Just to confirm with you whether any simpler method to achieve this requirement? As in my case, I have to change the occurrence in signature tab of message mapping to 0-1 then add the logic, and I have to redo all the mapping as a result of changing the occurrence of target message in signature.

Any suggestion will be greatly appreciated, thanks a lot.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 19, 2013 at 08:54 AM


    Why don't u use EX operator in RD?

    Ur XPATH will be something like this:

    /p1:MT_Message1/Record[FieldA=FieldB]     EX


    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2013 at 07:42 AM


    You can achieve this using concept of dynamic receivers.

    please revert back if you need any further inputs.


    Add comment
    10|10000 characters needed characters exceeded