Skip to main content
Solved

Content based routing for inbound JSON


Forum|alt.badge.img+2

Hi, 

I am receiving a JSON payload on an incoming request and so I have created a routing rule with type NONE_XML.

I want to route this message based on the attribute values in payload. For example, only if the customer_id = abcd, i would like to handle this message else i am least concerned. 

Is there a way to define content based routing for this kind of scenario with incoming JSON payload.

Any suggestions are much appreciated.

 

 

Best answer by dsj

Hi @AccManisC 

 

Evaluating JSON path is still not possible in IFS Cloud routing rules but I have already created an idea for this and it’s accepted by RnD.

Please upvote this and comment with your business criticality to get the IFS attention.

JSON support in Routing rules | IFS Community

 

Best Regards,

Damith

View original
Did this topic help you find an answer to your question?

4 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 880 replies
  • Answer
  • February 2, 2024

Hi @AccManisC 

 

Evaluating JSON path is still not possible in IFS Cloud routing rules but I have already created an idea for this and it’s accepted by RnD.

Please upvote this and comment with your business criticality to get the IFS attention.

JSON support in Routing rules | IFS Community

 

Best Regards,

Damith


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • February 5, 2024

Hi @dsj ,

 

Many Thanks for your reply.

As suggested in your idea, I have tried the below routing rule with JSON attribute, but it didn't work. Can you pls check and let me know if I have missed something.

 

BR/

Manisha

 


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 880 replies
  • February 5, 2024
AccManisC wrote:

Hi @dsj ,

 

Many Thanks for your reply.

As suggested in your idea, I have tried the below routing rule with JSON attribute, but it didn't work. Can you pls check and let me know if I have missed something.

 

BR/

Manisha

 

 

Hi @AccManisC,

 

The notation mentioned in the idea is still not implemented in IFS as I’m aware, so it’s not possible to use it in routing rules yet.

Instead, you can check if the value exists, as you you have done in other conditions.

Search path: trygno

Operation: ex


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • February 5, 2024

Thanks for the clarity @dsj and I understand that it’s currently a limitation from IFS that we cannot have a key-value routing rule with JSON input.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings