public SESampleProcess2WorkFlow() : base() { SESampleProcess2 wf = new SESampleProcess2(); app = new WorkflowApplication(wf); //app.WorkflowDefinition app.InstanceStore = TrackingSqlWorkflowInstanceStore.generateOne(); this.MakeAsyncSync(); }
public SESampleProcess2WorkFlow(string instanceId) : base() { SESampleProcess2 wf = new SESampleProcess2(); app = new WorkflowApplication(wf); app.InstanceStore = TrackingSqlWorkflowInstanceStore.generateOne(); Guid g = new Guid(instanceId); app.Load(g); this.MakeAsyncSync(); }