Example #1
0
            public string ResumeWorkflow(Guid id)
            {
                string bookmarkName = "final";

                try
                {
                    bookmarkName = host.ResumeWizard(id);
                }
                catch (Exception ex)
                {
                    // TODO get complete exception
                }
                return(bookmarkName);
            }
Example #2
0
        static void runWork(string id)
        {
            WorkflowHostHelper wizardHostHelper = new WorkflowHostHelper();

            wizardHostHelper.ResumeWizard(Guid.Parse(id));

            string command;

            while (true)
            {
                Console.WriteLine("Enter command n/b: ");
                command = Console.ReadLine();
                wizardHostHelper.RunWorkflow(command.Equals("n") ? "Next" : "Back");
            }
        }