You might try sending the SetStateEventArgs to the SetStateQueue like the StateMachineWorkflowInstance does.
SetStateEventArgs args1 = new SetStateEventArgs(targetStateName);
//get workflow queing service and get the SetStateQueue.
q.Enqueue(args1);
Matt
See What You Can Learn -- http://www.pluralsight.com/courses/IntroducingWF.aspx |