Skip to Content
0
Jul 21, 2014 at 12:26 PM

Workflow exception handling

499 Views

Hi Workflow Community,

In my workflow project I have a task to implement an exception handling for the case when there is no any agent for User Decision step. In order to do that, I can implement a method in my BOR that will check for agent and if there is no such, then an exception will be thrown. After that I can catch it in a Local Workflow via Local Events of workflow's Version-Dependent settings. The problem is that I have to add this check / handle to every user decision step and there are a lot of such steps.

My question is there any better way to deal with exceptions, where you don't need to pass over all workflows steps and manually add the call of the method, which will raise an exception in case of lack of suitable agent?

Thanks.