on 2022 Sep 07 7:47 AM
Hi
I am using router after request-reply pull from odata in local integration process.and i need to route records with values containing '@' in it for further processing and rest of the data without '@' should route to default end route.
I have read below blogs and hence tried the conditions like :
1. https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/
2. https://answers.sap.com/questions/12932533/please-explain-conditional-router-in-detail-in-cpi.html
non-xml Conditions tried:
/org/dept [ contains($cleanEmail, '@')] , //dept[contains(email, '@')], /org/dept/email [ contains($cleanEmail, email)], //dept[ contains($cleanEmail, '@')]
*cleanEmail: it is the property value of type xpath,
Expected output: org with <email> 879879879ho809<email/> should be routed to default end route2 and rest for processing through route 1.
<org>
<dept>
<email> sdnsap@gmail <email/>
</Name>
</ShipAddres>
</dept>
<dept>
<email> cpi|sdnsap@gmail<email/>
</Name>
</ShipAddres>
</dept>
<dept>
<email> 879879879ho809<email/>
</Name>
</ShipAddres>
</dept>
</org>
i get error :Invalid format of condition expression value.
Can anyone advise here,
Thanks
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.