# Uses of Interface
com.orchestranetworks.workflow.ProcessInstance

Packages that use ProcessInstance
Package
Description
com.orchestranetworks.workflow
Provides classes and interfaces for implementing workflow processes and invoking them.

- ## Uses of ProcessInstance in com.orchestranetworks.workflow

  Methods in com.orchestranetworks.workflow that return ProcessInstance
  Modifier and Type
  Method
  Description
  `ProcessInstance`
  SubWorkflowsCompletionContext.`getCompletedSubWorkflow(String aSubWorkflowName)`
  Retrieves the completed sub-workflow identified by a name.
  `ProcessInstance`
  ProcessExecutionInfoContext.`getProcessInstance()`
  Returns information about the current process instance.
  `final ProcessInstance`
  WaitTaskResumeResult.`getProcessInstance()`
  Returns the workflow associated with the resumed wait task.
  `ProcessInstance`
  WorkflowEngine.`getProcessInstance(ProcessInstanceKey aProcessInstanceKey)`
  Returns information about the specified workflow.
  Methods in com.orchestranetworks.workflow that return types with arguments of type ProcessInstance
  Modifier and Type
  Method
  Description
  `List<ProcessInstance>`
  SubWorkflowsCompletionContext.`getCompletedSubWorkflows()`
  Returns the list of completed sub-workflows sorted by launch order.
  `List<ProcessInstance>`
  ProcessInstance.`getCurrentSubWorkflows()`
  Returns the list of the current sub-workflows; if no current sub-workflows exist, returns an empty list.
  `List<ProcessInstance>`
  ProcessInstance.`getSubWorkflows()`
  Returns the list of all the sub-workflows (past or current) of this workflow; if no sub-workflows exist, returns an empty list.
  `List<ProcessInstance>`
  ProcessInstanceStep.`getSubWorkflowsInvocationSubWorkflows()`
  Deprecated.
  Since 5.7.0.