Determine receiver by multiple fields from source payload
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.