Trouble-shooting the workflow—Part 1
SharePoint workflow is great tools to enforce business process. However, sometimes it throws some errors like “Failed on Start”. As always, you look for the errors in the ULS log, but you will be surprised that you find nothing. The reason for this is because you have to enable the logging for SharePoint workflow. To do so, you need to perform the following steps:
Navigate to Central Administration > Monitoring > Configure Diagnostic Logging, change the Event Throttling SharePoint Foundation category to ‘Workflow Infrastructure’, and then ensure that your least critical event logging is set up as shown below:
Least critical event to report to the event log: “Error”
Least critical event to report to the trace log: “Medium”
If any changes are made to these settings, you must restart the ‘SharePoint 2010 Tracing’ service on the server. Once completed, you can replicate the issue and check your SharePoint ULS logs for the time the behavior occurred. The logs can be found at c:\program files\common files\microsoft shared\web server extensions\14\Logs or any other location being set in Trace Log path.