Methods / Process Definition Methods |
IWFWorkflowService svc = GetWorkflowService(); try { //Returns Array of WFBaseProcessDefinition type. WFBaseProcessDefinition[] processDefinitions = svc.GetProcDefs(); for (int i = 0; i < processDefinitions.Length; i++) { Console.WriteLine("Definition ID: '" + processDefinitions[i].DefID + "' "); Console.WriteLine("Definition Name: '" + processDefinitions[i].DefName + "' "); } } catch (Exception ex) { Console.WriteLine(ShUtil.GetSoapMessage(ex)); }