cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Filter XPATH expression check against multiple values

suwandi_cahyadi
Contributor
0 Likes
1,799

Hi,

Is it possible to in the Filter step for the XPath expression to have something like:

/root/IDoc[header/field1 = ('value1', 'value2')]

But with 'value1', 'value2' is dynamic. I have tried by maintaining the 'value1', 'value2' in a property:

Then set the XPath expression as:

/root/IDoc[header/field1 = ($property)]

But still does not work. I know that it will be possible with OR operator, but this will make the expression static as the number of values to be checked against could be dynamic.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor

Hello Suwandi,

Case#5 of below blog should help you.

https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/

Regards,

Sriprasad Shivaram Bhat

Answers (0)