on 2019 Dec 14 6:30 AM
Hi Experts,
Could you please Explain me about Conditional Routing in CPI, with example ?
Regards,
Raghavendra.
Request clarification before answering.
Hello Raghav,
Please follow below thread that gives more details.
Few # on Content Router
1) Expression Type can be of two types 1: XML and 2: Non-XML
2) If you use Non-XML you can use Headers or Properties to decide in branch data should go.
Below is the list of operators you can use ( refer the examples ).
3) If you use XML then use the XPath and based on the same data will be routed.
4) One route should be always default.
Refer below thread and refer my comment where it shows how to route based on data existence from incoming message.
https://answers.sap.com/questions/12940277/how-to-add-router-condition-when-property-value-is.html
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arkesh,
Please create a new thread for your question.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sriprasad,
I am using looping process call with condition.
${property.value1} != 'one' or ${property.value2} != 'two'.
this is not working for me when i am giving two non xml property with or operation
in locall intergration process i am setting content modifier with value1 as two and value2 as two.
so second time it should not come to local intergration process. but it is iterating again.
Please let me know if the syntax is incorrect and how can i correct it. It will be a great help
Thank you in advance
Hello Raghav,
Below might help you and there are lot of content already available in SCN.
Regards,
Sriprasad shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sriprasadshivaramabhat ,
I have a similar question where I'd like to do something like -
{$header.id} = '11' and {$header.id} = '22' and ({$header.name} = 'Sriprasad' or {$header.id} = 'Arkesh' or {$header.id} = 'Rahul')
Currently I am getting an error (i.e. Invalid format of condition expression value) and I am unable to work it out. The reason I have placed first/simple brackets around the OR conditions is because the output of it should act as an input to the AND condition.
Regards,
Arkesh
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.