ProcessInstance.ProcID in K2MNG.GetProcessInstancesAll
What is .ProcID good for this case?
oProcessInstances = oK2Manager.GetProcessInstancesAll("", "", "K2DomainK2DUDE", Nothing, Nothing) 'oProcSet.FullName, strFolio, strOriginator, strStartDate, strEndDate
For Each oProcessInstance In oProcessInstances
Response.Write(oProcessInstance.ID & "<BR>") 'Useful for view flow, history
Response.Write(oProcessInstance.ProcID & "<BR>")
* ProcSet (ProcSetID 1)
* Proc (ProcID 1) - First version/export of Process definition
* ProcInstance (ProcInstID 1) - First process started on this Proc version
* ProcInstance (ProcInstID 2) - First process started on this Proc version
* ...
* Proc (ProcID 2) - Second version/export of Process definition
* ProcInstance (ProcInstID 3) - First process started on this Proc version
* ProcInstance (ProcInstID 4) - First process started on this Proc version
* ...
* Proc (ProcID 3) - Third version/export of Process definition
* ProcInstance (ProcInstID 5) - First process started on this Proc version
* ProcInstance (ProcInstID 6) - First process started on this Proc version
* ...
Hope it makes sense,
Ockert
Is it safe assume the following then for a 2nd process that gets deployed?
* ProcSet (ProcSetID 2)
* Proc (ProcID 4) - First version/export of Process definition
* ProcInstance (ProcInstID 7) - First process started on this Proc version
* ProcInstance (ProcInstID 8) - First process started on this Proc version
* ...
* Proc (ProcID 5) - Second version/export of Process definition
* ProcInstance (ProcInstID 9) - First process started on this Proc version
* ProcInstance (ProcInstID 10) - First process started on this Proc version
* ...
* Proc (ProcID 6) - Third version/export of Process definition
* ProcInstance (ProcInstID 11) - First process started on this Proc version
* ProcInstance (ProcInstID 12) - First process started on this Proc version
thanks,
Wes
Correct,
Ockert
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.