LoadWorkflow method of StateMachineInstance in RC2 version

What is the other way to load a workflow in the RC2 version

Doesn't the StateMachineInstance instance have a LoadWorkflow() method

[144 byte] By [shivali.sadavarte] at [2007-12-22]
# 1
I'm not sure exactly what you are asking for, but I cannot find the StateMachineInstance as a viale API in the SDK.
BillZunis at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2
I mean Viable.... :-)
BillZunis at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 3

The SateMachineInstance class is not a part of the product. It is from Hands on Lab 4, Creating State Machine Workflows

I m trying to use the SqlTrackingService. Registering Service is sufficient or we need to use the Query also

Also how do we get the workflow instance using the SqlWorkflowPersistenceService

Thanks.

shivali.sadavarte at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 4

You can't get a workflow instance back from the SqlWorkflowPersistenceService directly. You can from the StateMachineInstance class in lab 4 and are able to do Load off of it like the following:

stateMachineInstance.WorkflowInstance.Load();

TomLake-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified