Methods / Process Definition Methods |
Name | Type | Description |
---|---|---|
PID | string | The process definition ID for a released process definition. |
// This is console application sample IWFWorkflowService svc = GetWorkflowService(); //process definition ID for a process. string processTemplatedID = … // for example "1e3d514d43d3465cae6ec3bbbd409168"; try { //Returns KeyValuepair, for example "process definition Name-process definition Version" KeyValue keyValue = _ svc.GetProcDefNameVersion(processTemplatedID); Console.WriteLine("process definition Name: '" + keyValue.Key.Tostring() + "' "); Console.WriteLine("process definition Version: '" + keyValue.Value.Tostring() + "' "); } catch (Exception ex) { Console.WriteLine( ShUtil.GetSoapMessage(ex)); }