cancel
Showing results for 
Search instead for 
Did you mean: 

No Receiver found

Former Member
0 Kudos

Hi Experts,

I am working on single sender to two receivers scenario. Sender side payload will be in below format.

-<Update>

    -<Target>

          -<Field1>

          -<Field2>

   -<Footer>

          -<Filed1>

If Target node exist then send the payload to Receiver-1,  if not exists then send the payload to Receiver-2. In Message mapping i gave the 1:2 transformation properly. In Receiver Determination i have given the conditions like below :

(/Update_/Target EX ) to send the message to Receiver-1

(/Update_/[not(Target)] EX )  to send the message to Receiver-2.

but when i am triggering the payload getting "No Receiver could be determined" error.

Please help on this.

Thanks

Boopathi

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi Boopathi,

You should use 'Count' function to determine existence of a Node in a XML.

The count function returns the count of the occurrence of a field or node in the XML message. Hence in case a field exist in a message, the count return a value greater than Zero and if it doesnt exist, the value returned should ideally be zero.

Reference: To Exist Or Not to Exist is the Question - Process Integration - SCN Wiki

Regards,

Nabendu.

Answers (0)