예제 #1
0
        static void cleanScope()
        {
            InFlowWFM wfm = new InFlowWFM(cfgWFMBaseAddress, cfgWFMUsername, cfgWFMPassword, cfgSQLConnectionString_InFlow);



            string input = "...";

            do
            {
                DConsole.PrintEmptyLines();
                DConsole.Print("ProcessName:");
                input = Console.ReadLine();
                if (input.Length > 0)
                {
                    DConsole.Print(wfm.deleteProcess(ScopeName, input));
                }
                if (input.Length <= 0)
                {
                    DConsole.Print(wfm.deleteCompanyScope(ScopeName));
                }

                DConsole.PrintDone(); Console.WriteLine();
            } while (input.Length > 0);

            start();
        }
예제 #2
0
        static void setUpScope()
        {
            InFlowWFM wfm = new InFlowWFM(cfgWFMBaseAddress, cfgWFMUsername, cfgWFMPassword, cfgSQLConnectionString_InFlow);


            Console.WriteLine("Create Company-Scope InFlow");

            DConsole.Print(wfm.addCompanyScope(ScopeName, workflow_TaskHandler_Path) + "\n");

            DConsole.PrintDone(); Console.WriteLine();
        }