Dec 30, 2009

Basic steps for a Sharepoint workflow

I always have problems configuring the basic setup for a Sharepoint workflow, especially creating tasks.

Things to remember:
1. Each task must have its own correlation token.
2. In the event for onWorkflowActivated you should set the workflowID = workflowProperties.workflowID.
3. In the event for createTask, you must set the taskId = Guid.NewGuid()
4. Create a fault handler to log exceptions to the HistoryList and add Microsoft.Office.Server.Diagnostics.PortalLog.LogString("error details")

No comments:

Post a Comment