Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Process instance management : Retrieving process instances : Retrieving process instances from class ProcessTemplate
 

Retrieving process instances from class ProcessTemplate

*public ProcessInstance getProcessInstance(long piid)
You can get the process instance of the ID provided. If the process instance with the provided ID does not exist for invoking the ProcessTemplate object, then an exception is raised.
*public ProcessInstanceList getProcessInstanceList()
Returns the complete list of all the process instances.
*public ProcessInstanceList getProcessInstanceList(long[] piids)
Returns a list of selected ProcessInstance SVOs. This API is particularly useful when you want to reduce the overhead of retrieving all the ProcessInstance SVOs, and also do not want to retrieve ProcessInstance SVOs one by one.