Conditions in Receiver Determination
I have a data file with employee information, each data record has employee ID (defined as string). When I send the data to the target, I only need to send certain employees, I am putting these employees' ID under Condition of Receiver Determination as below. Supposedly I should only send these two employees information to the target, the data is sent successfully according the message, but seems the filter under Condition of Receiver Determination didn't work, all the employees information are listed in the XML data file after "XML Validation Outbound Channel Request" step. I am just wondering if I missed anything or it is not defined correctly?
Can you give me any hints?
Really appreciate your input.
Eng Swee Yeoh replied
Condition in Receiver Determination only determines whether the message will be sent to a particular receiver if the condition is met, but it does no filtering on the payload.
If you want to additionally filter the payload, you need to perform the filtering in mapping (quite easily achieved in Message mapping using the CreateIf node).
RecordSet/Record/BID = "XXX" ===> CreateIf ===> RecordSet/Record
(change context of BID to a level higher)