Hello guys
First of all thank you all for the replies. this place is an amazing knowledge center for me
I have a workflow surrounded with try catch that has 3 exit points due to business exception, and each one of them require different actions if appear.
what is the best way to manage it? because the Catch can contain only 1 business exception.
Hi @liranl , while throwing business exception, provide separate messages for each business exception.
For example, under properties of throw activity, for the parameter ‘Exception’, write:
new BusinessRuleException(“Message1”),
new BusinessRuleException(“Message2”) etc
Then in catch section use switch statement with the expression as Exception.Message