on 12-14-2019 6:30 AM
Hi Experts,
Could you please Explain me about Conditional Routing in CPI, with example ?
Regards,
Raghavendra.
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.
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 |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.