Question
2
Replies
322
Views
Cognizant
Posted: May 15, 2018
Last activity: June 1, 2018
Closed
Solved
How to prevent queuing in asynchronous REST service
I want to prevent a request from queuing in a REST service based on some custom conditions. For example - if the policy_number tag is blank in the request json, I just want to throw error code and don't want to queue it.
I tried using when conditions. It throws the configured error code but still queues the request.
Have not seen this use case - but I'm wondering if you would find better luck by configuring it to synchronous and then pushing to queue if it passes validation (policy_number is not blank).