cancel
Showing results for 
Search instead for 
Did you mean: 

Can I map a message based on the content using XPATH condition?

Former Member
0 Kudos

Greetings, Can I determine the interface operation based on an XPATH expression?

The caller can only post to 1 target URL so I need to determine the intended operation based on file content as he has 2 potential structures that will be passed. This does not seem to be an obvious configuration option (PI 7.4) but it seems like it would be a common problem.

I can easily create an XPATH expression that will determine which operation to use but the only usage I see in IntegrationBuilder is using XPATH to determine the receiver (the comm-component). The receiver is the same for both messages.

Please advise! Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190293
Active Contributor
0 Kudos

Hi Dan!

Did you try to use conditions in interface determination?

Regards, Evgeniy.

Harish
Active Contributor
0 Kudos

Hi Dan,

One of the possible solutions for your problem is to create a common structure both the operation for the outbound interface. then create multiple inbound interface based on your number of structure and perform multimapping.

regards,

Harish