Methods / Methods for Process Instances |
Web Services
Retrieves multiple attributes of a process instance.
public virtual NameValue[] GetProcInstAttrs(String processInstanceID)
Name | Description |
---|---|
processInstanceID |
|
Name | Description |
---|---|
DefID | The ID of the process definition. |
DefName | The name of the process definition. |
ProcInstName | The name of the process instance. |
Status | The current status of the process instance. |
SuperProcInstID | The parent process instance ID. |
workObjectID | The ID of the work object. |
StartDate | The date and time when the process instance was started. |
DueDate | The date that the process instance is expected to be complete |
LastModifiedDate | The date and time that the last modification was made to the process instance. |
Array of NameValue objects that holds the values of all the requested attributes.
// This is console application sample IWFWorkflowService svc = GetWorkflowService(); string processInstanceID = …// process instance ID NameValue[] attributes = svc.GetProcInstAttrs(processInstanceID); for (int i = 0; i < attributes.Length; i++) { NameValue nv = attributes[i]; Console.WriteLine("Process Instance Attribute, {0}={1}", nv.Name, nv.Value); }
3.2.0.4 and higher