If you are tracking the progress of events in a workflow using a SqlTrackingService object you might have noticed you aren't seeing any events in the database until the workflow is either finished or unloaded. In fact you won't get to see any event until the WorkflowPersisted event has fired. The reason for this is that the default for the SqlTrackingService is to be transactional. Even though the docs claim the default for the SqlTrackingServiceIsTransactional is false in fact it is true. This results in the records being written to the database but you won't see them when querying because they are still locked in a transaction. So if you need or want to see the up-to-date events while the workflow is still executing you need to set the SqlTrackingService.IsTransactional to false before adding the service to the WorkflowRuntime.
Contains methods and properties that are used to manage queries to the tracking data that is contained in the SQL database used by a SqlTrackingService.
23-11-2009 15:29:49 - 83.163.167.157
Click to read this topic
23-11-2009 15:16:27 - nftRcTAHji-120.28.64.69
This implementation stores the tracking profiles and data to SQL Server.
23-11-2009 15:29:53 - 80.126.236.224
Gets or sets a value that specifies whether tracking data for a workflow instance should be moved to the currently active partition in the database when the workflow instance is completed.