Thursday, April 16, 2009

Out of the box Approval Workflow errors out

Recent issues with custom workflow led to testing out of the box basic functionalty. I set up the most basic approval process on a test document library and everything functioned properly until the approver approved the document. After checking logs, event errors I found nothing that really gave me an idea on how to fix it.

I called good ole' microsoft support and they are aware of this issue, however they have an unpublished internal article with the fix.

The Solution:
Document Library Settings > Workflow settings > Click on your active workflow > Next > Uncheck the Post-Completion Workflow Activities check box!

Rerun your workflow and you will be error free.

MOSS Diagnostic Logs are not Generating!

I recently noticed the logs just randomly stopped generating on our production server, however they were working fine in development. I compared settings, checked service accounts, rebooted the server, freed disk space...

The Solution:
Navigate to the services on your server and check the Windows SharePoint Services Tracking service. It should be started, set to automatic and using the local system account. This service had not started properly during a reboot or something and was disabled therefore no logs where being generated.