XPATH Filter Expression
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/" xmlns:ns_1="http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/" 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>