cancel
Showing results for 
Search instead for 
Did you mean: 

receiver determination wildcard in condition editor

former_member198060
Participant
0 Kudos

Hi experts,

I have a question regarding the condition editor for receiver determinations on PI 7.1. I have an xpath expression on the left side and I need to have a condition on the right side that includes a certain pattern.

One example:

p1:myDocument/element = 1A2B*

There I would want to read the xml element "element" and redirect to a certain communcation component if the value of 'element' starts with 1A2B.. regardless if its 1A2B3 or 1A2BC and so on.

Is that possible? I tried like in the example to use * as a wildcard, but that didn't work.

Any help would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

It should not be = operator ....it should be Contains Pattern Operator

Refer: http://help.sap.com/saphelp_nwpi71/helpdata/EN/67/49767669963545a071a190b77a9a23/content.htm

Regards,

Abhishek.

former_member198060
Participant
0 Kudos

Thanks.. I am really blind, I was just browsing that page but somehow I didn't see the obvious solution. Thank you!

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

You may use xpath function starts-with() and then it would made sure that it takes only A2B.

Regards,

Prateek