Showing posts with label worflow error. Show all posts
Showing posts with label worflow error. Show all posts

Sunday, March 7, 2010

How to check the actual error reported for a Workflow failure

When a workflow fails, all it shows in CRM is a window similar to the following.

This is very vague and does not help you in any way to identify the cause of the failure, especially if you were using a workflow assembly in the workflow.

To check the actual error reported during the execution workflow, you can search for the error code and message column of the System Job.

You can create an advanced find view as described below to get the error message.

- Go to advance find select “system job” entity with “all system job”.
- Change the condition to “Status reason=”waiting”
- Click on edit column
- Add error code, message, message name columns and save it

This view will list out the actual error message.

Well, wonder why this attribute was not added on the UI/form for the Workflow…