Archive

A problem with the code for one of the examples has just been brought to my attention. The code for the ProblemReporting example in Chapter 8 is missing several lines. This code can be found on page 309 of the first edition of the book. The missing lines synchronize the code that is assigned to the Notification event with the Idle event of the workflow instance. Without this code, the code assigned to the Notification event may execute before the workflow is idle and before the bookmarks have been created.

Here is the revised section of code for the Program.cs file of the ProblemReporting project. The lines that should be added are highlighted below: