How do you handle exceptions in workflow?

 Posted by ArticlesMaint on 9/18/2009 | Category: WWF Interview questions | Views: 4010

Exception handling in Workflow is somewhat different than how we do in normal .NET application. Below is the numbered snapshot of how we can handle exceptions in Workflow.

  1. We have small tab, which says view exceptions. If you click on view exception, you will be redirected to a workflow design only for exception as shown in numbered snapshot 2.

  2. This is the workflow which will execute incase we have exceptions. We have put a code activity, which points to a method called as raise Exception. Incase of exception in the workflow this path will be followed.

Figure 6:- Workflow with exception handling

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response