Exemplo n.º 1
0
        public SESampleProcess2WorkFlow() : base()
        {
            SESampleProcess2 wf = new SESampleProcess2();

            app = new WorkflowApplication(wf);
            //app.WorkflowDefinition
            app.InstanceStore = TrackingSqlWorkflowInstanceStore.generateOne();
            this.MakeAsyncSync();
        }
Exemplo n.º 2
0
        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();
        }