AnsweredAssumed Answered

Stop Processing and Exit from Policy

Question asked by Ravish4596 on May 18, 2018
Latest reply on May 31, 2018 by RemcoDekker



I want to set a flag and on the basis of flag, I want to process it further.

Condition1: If this flag is true, I should stop the processing here and return a success message to the client and exit from policy.

Condition2: If the flag is not true(Otherwise), I want to continue processing. Or, I want to do some furthur logic in policy.


When I try to use stop processing assertion or raise an error assertion, it is actually throwing an error in stead of success response. It also says unhandled exception in audit logs.


Please suggest how can I proceed.