Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

XPATH Filter Expression

edited Oct 25, 2019 11:50AM in Integration 7 comments

Summary

Can we define a XPATH Filter Expression using 'AND' and 'OR' operators?

Content

Hi Integration Guru's

We have a requirement to include complex conditions in our Xpath Filter Expression within our ERP Adaptor, such that our Integration will only fire if a number of attributes meet certain conditions. For example;

Currently I am subscribing to the Item Update Event in Oracle Product Hub, and I am successfully employing this xpath filter;

<xpathExpr xmlns:ns_0="http://xmlns.oracle.com/adf/svc/types/&quot; xmlns:ns_1="http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/&quot; xmlns:ns_2="http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/types/">$eventPayload/ns_2:result/ns_0:Value/ns_1:VehicleItemFlag="true"</xpathExpr&gt

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!