Is there a way to test a sequential workflow in Windows Workflow?

The state machine workflow has a StateMachineWorkflowInstance class that you can use to check the current state of the workflow, get legal transitions, and more. Is there something like this for sequential workflows? I would like to have an easy way to programmatically find out what state a workflow is in.

0


source to share


1 answer


Workflow tracking will contain five pieces of information about the current state of your sequential workflow. It can even pull user data from the workflow and store it as part of the tracking data if you want. By default, it tracks all state changes for the workflow itself, as well as all activities within it.

The SqlTrackingQuery object helps you retrieve tracking data from the database, but it is also easy to write your own SQL queries.



http://wiki.windowsworkflowfoundation.eu/default.aspx/WF/SqlTrackingService.html

+2


source







All Articles