Chapter 12. A bag of workflow developer tricks
This chapter covers
- Handling faults and debugging workflows
- Versioning workflows
- Using workflow event receivers
- Receiving external events with pluggable services
- Working with the workflow object model
Everything in the first 11 chapters of this book was fundamental to a SharePoint workflow developer. We discussed out-of-the-box SharePoint workflows, other nondeveloper techniques with SharePoint Designer and Office Visio, workflows with Visual Studio, and custom forms. With chapter 12, you round out the SharePoint developers skills with a few key techniques.
These techniques include how to debug and handle faults in your workflows, version workflows, set up event receivers, send and receive external events, and work with the SharePoint workflow object model. Debugging and exception handling are an obvious must, but versioning is not well understood. If you don’t properly version your workflows, idle workflow instances might break when they resume execution.