For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
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>
So we only fire the integration when the VehicleItemFlag is true.
But I want to only fire the integration when VehicleItemFlag is true AND itemstatus = 'A' and itemOrganisation = 'MASTERORGANISATION'
Is this possible?
If so, what is the syntax I need to use when referencing multiple items?
any help is as always, greatly appreciated.
Thanks
Mark
Comment
It should be possible. Can you share XML data you receive as part of event.
Be the first to rate this
|
Sign in to rate this
Refer this post.
Be the first to rate this
|
Sign in to rate this
Thanks all - a super swift response, greatly appreciated!
Mark.
Be the first to rate this
|
Sign in to rate this