on 08-01-2017 3:19 PM
Hi All,
I am very new to HCI and working on a scenario where I need to route the message to different systems based on SystemID field coming from input.
I referred the below blog but didn't understand clearly.
https://archive.sap.com/discussions/thread/3728355
Below is my input data
<?xml version="1.0" encoding="UTF-8"?> <ns1:ProcalResults_Inb_Async xmlns:ns1="urn:sap-com:document:sap:rfc:functions"><SystemID>NDA</SystemID><OrderNumber>1234</OrderNumber><ItemCode>?</ItemCode><ItemType>?</ItemType><StartDate>?</StartDate><EndDate>?</EndDate><ManHours>?</ManHours><CalResult>?</CalResult><CalibrationDate>?</CalibrationDate><WhoCalibrated>?</WhoCalibrated></ns1:ProcalResults_Inb_Async>
I have configured the iflow like below and Routing Conditions. But all the cases it is going to default route only.
I am suspecting that issue with condition expression, I might be not giving correctly. I have tried the below xpath expressions but nothing worked.
//SystemID='NDA'
/ns1:ProcalResults_Inb_Async/SystemID='NDA'
Please help me to fix the issue.
Hi All,
Thanks for your suggestions.
Issue with namespace, I have used xslt mapping after mapping to remove namespace and it worked. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Can you provide the data after the mapping step?
Also, make sure your expression type in the Route is XML.
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
I did the namespace configuration in iflow. Please find the screenshot. I already went through that blog.
Thanks,
Satish Kumar P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
I tried similar scenario with placing your given input in content modifier. It works perfectly fine.
Please find the screenshot
I have used data store instead of receiver's. Probably if you could check the output of mapping it that is causing the problem. suggest you to just keep a content modifier before routing and test it with the input and confirm if router is working fine. Later you could remove it and check with the mapping.
Otherwise it should work fine.
Hope it helps.
regards,
Praveen T
Hi Satish,
Seems you have not mapped the namespace in the i-flow appropriately.
There was a similar issue which was resolved in below thread.
https://answers.sap.com/questions/271313/message-routing-issue-in-hci.html
Hope this helps.
regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.