Using the SqlTrackingService Service
With the workflow tracking database in place, it’s time to actually use it. Let’s create a new workflow and see how we track events. We’ll start by creating a slightly more complex workflow so that we have a few events to play with. After we have the basic workflow built, we’ll add the necessary tracking code.
Create a new workflow for tracking
To make it easier, I’ve created two versions of this sample application. (In fact, I’ll try to do that for the remainder of the book.) The WorkflowTracker application has two different versions: one incomplete and one complete. The complete version is entirely finished and ready to run, and you will find it in the \Workflow\Chapter5\ WorkflowTracker Completed\ directory. ...
Get Microsoft® Windows® Workflow Foundation Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.