| Methods / Methods for Process Instances |
| Name | Type | Description |
|---|---|---|
| processInstanceID | string | A string that contains the ID of the process instance. |
IWFWorkflowService svc = GetWorkflowService();
string processInstanceID = … // process instance ID
try
{
WFEvent[] events = svc.GetEventsByProcInstID(processInstanceID);
for (int i = 0; i < events.Length; i++)
{
Console.WriteLine("Event ID: '" + events[i].EventID + "' ");
Console.WriteLine("Event Name: '" + events[i].EventName + "'");
}
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}