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(); }