Workflow Event Tracking Using SqlTrackingService

You track your workflow processes by adding a tracking service to the workflow runtime—typically, SqlTrackingService. As your workflow instance progresses, it fires events, as do individual activities within your workflow. If you have specific tracking needs, you can create your own user-defined tracking events. If the events that are captured provide you with more tracking data than you require, you can filter the tracked data using a tracking profile you establish.

As tracked events fire, WF creates and manages tracking records. Although you’re not required to do so, you can easily access the tracking records directly from WF. Note that the information is recorded in the database as well, so retrieving ...

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.