cancel
Showing results for 
Search instead for 
Did you mean: 

Condition Receiver determination

Former Member
0 Kudos

Hi,

I have a input structure something like this...

RECORD

HEADER 1..1

H1

H2

H3

ITEM1 ( 1...Unbounded)

I1

I2

I3

ITEM2

I1

I2

I3

ITEM3

I1

I2

I3

I have 2 receivers for this scenario, based on I2 value ( 2nd field of Item segments), I need to by pass this information to corresponding receiver. Something like if I2=A then map the message to Receiver1 and of I2=B then map the message to Receiver2. an we achieve the same in XI. If yes, can you guide the same.

Note: I have two different mappings for the two receivers.

-Esha

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

In your receiver Determination include the receivers one below the other (order not important).....under the condition column click for input help....in condition Editor speficy the node which you want to apply the condition in left operand....in middle operand it will be = sign.....in right operand it will be a constant value....same procedure for both receivers.....condition will be based on Source message.

You will have to maintain a different set of Interface Determination, receiver Agreements for the two receivers

For more information search in SDN.

Regards,

Abhishek.

Former Member
0 Kudos

can we make a condition on Item segments as well? Or it works only with the header values?

former_member200962
Active Contributor
0 Kudos

Condition can be created based on any field/ node/ element of the source message.

Former Member
0 Kudos

Thanks for the quick reply....I have 2 receivers configured in Receiver determination, say R1 and R2.

I dont have any conditon on R1 system. But for R2, based on some value from input message it should be routed to corresponding interface mappings. I have placed a condition in Interface determination.

NOte: I have two mappings ( 2 interface determinations) for R2 itself.

I have tried with the same condition stuff with RD and ID..but still its not working. only my R1 stuff is working...did I miss anything here? Can you help me out.

-Esha

Former Member
0 Kudos

You can make conditions from any segment there is no restriction.

Answers (1)

Answers (1)

madhusudana_reddy2
Contributor
0 Kudos

Hi,

For your requirement you add 2 receiver in Receiver determination by clicking + symbol.

put condition for first receiver I2=A

put condition for second receiver I2=B.

create 2 interface determinations(with 2 mappings) and 2 receiver agreements.

Note:- You need control the data in mappings. In first mapping check I2=A then map that particular data to target structure of first Receiver. Same way in second receiver.

thanks,

madhu