## Uses of Interface
org.jbpm.services.api.model.ProcessInstanceDesc

- Packages that use ProcessInstanceDesc
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.impl |
  org.jbpm.casemgmt.impl.admin |
  org.jbpm.kie.services.impl |
  org.jbpm.kie.services.impl.model |
  org.jbpm.kie.services.impl.query.mapper |
  org.jbpm.services.api |
  org.jbpm.services.api.model |
  org.jbpm.test.services |

- - ### Uses of ProcessInstanceDesc in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessInstanceDesc>` | CaseRuntimeDataService.`getProcessInstancesForCase​(String caseId, List<Integer> processStates, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instances found for given case id.
    `Collection<ProcessInstanceDesc>` | CaseRuntimeDataService.`getProcessInstancesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instances found for given case id.

  - ### Uses of ProcessInstanceDesc in org.jbpm.casemgmt.impl

    Methods in org.jbpm.casemgmt.impl that return ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected ProcessInstanceDesc` | CaseServiceImpl.`verifyCaseIdExisted​(String caseId)` |
    `protected ProcessInstanceDesc` | CaseServiceImpl.`verifyCaseIdExists​(String caseId)` |

    Methods in org.jbpm.casemgmt.impl that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessInstanceDesc>` | CaseRuntimeDataServiceImpl.`getProcessInstancesForCase​(String caseId, List<Integer> processStates, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | CaseRuntimeDataServiceImpl.`getProcessInstancesForCase​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` |

    Methods in org.jbpm.casemgmt.impl with parameters of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | CaseServiceImpl.`internalTriggerAdHocFragment​(ProcessInstanceDesc pi, String fragmentName, Object data)` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.casemgmt.impl.admin

    Methods in org.jbpm.casemgmt.impl.admin that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<Long,​ProcessInstanceDesc>` | CaseInstanceMigrationServiceImpl.`mapProcessInstances​(Collection<ProcessInstanceDesc> processes)` |

    Method parameters in org.jbpm.casemgmt.impl.admin with type arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<Long,​ProcessInstanceDesc>` | CaseInstanceMigrationServiceImpl.`mapProcessInstances​(Collection<ProcessInstanceDesc> processes)` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.kie.services.impl

    Methods in org.jbpm.kie.services.impl that return ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessInstanceDesc` | RuntimeDataServiceImpl.`getProcessInstanceByCorrelationKey​(org.kie.internal.process.CorrelationKey correlationKey)` |
    `ProcessInstanceDesc` | RuntimeDataServiceImpl.`getProcessInstanceById​(long processId)` |

    Methods in org.jbpm.kie.services.impl that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstances​(List<Integer> states, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstances​(org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByCorrelationKey​(org.kie.internal.process.CorrelationKey correlationKey, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByCorrelationKeyAndStatus​(org.kie.internal.process.CorrelationKey correlationKey, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByDeploymentId​(String deploymentId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByParent​(Long parentProcessInstanceId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByProcessDefinition​(String processDefId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByProcessDefinition​(String processDefId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByProcessId​(List<Integer> states, String processId, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByProcessName​(List<Integer> states, String processName, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByVariable​(String variableName, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesByVariableAndValue​(String variableName, String variableValue, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataServiceImpl.`getProcessInstancesWithSubprocessByProcessInstanceId​(Long parentProcessInstanceId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.kie.services.impl.model

    Classes in org.jbpm.kie.services.impl.model that implement ProcessInstanceDesc
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ProcessInstanceCustomDesc` |
    `class` | `ProcessInstanceDesc` |
    `class` | `ProcessInstanceWithVarsDesc` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.kie.services.impl.query.mapper

    Methods in org.jbpm.kie.services.impl.query.mapper that return ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected ProcessInstanceDesc` | ProcessInstanceQueryMapper.`buildInstance​(org.dashbuilder.dataset.DataSet dataSetResult, int index)` |

    Methods in org.jbpm.kie.services.impl.query.mapper that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryResultMapper<List<ProcessInstanceDesc>>` | ProcessInstanceQueryMapper.`forColumnMapping​(Map<String,​String> columnMapping)` |
    `List<ProcessInstanceDesc>` | ProcessInstanceQueryMapper.`map​(Object result)` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.services.api

    Methods in org.jbpm.services.api that return ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessInstanceDesc` | RuntimeDataService.`getProcessInstanceByCorrelationKey​(org.kie.internal.process.CorrelationKey correlationKey)` | Returns active process instance description found for given correlation key if found otherwise null.
    `ProcessInstanceDesc` | RuntimeDataService.`getProcessInstanceById​(long processInstanceId)` | Returns process instance descriptions found for given processInstanceId if found otherwise null.

    Methods in org.jbpm.services.api that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstances​(List<Integer> states, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions found with given statuses and initiated by `initiator`.
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstances​(org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByCorrelationKey​(org.kie.internal.process.CorrelationKey correlationKey, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instances descriptions (regardless of their states) found for given correlation key if found otherwise empty list.
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByCorrelationKeyAndStatus​(org.kie.internal.process.CorrelationKey correlationKey, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instances descriptions filtered by their states found for given correlation key if found otherwise empty list.
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByDeploymentId​(String deploymentId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions found for given deployment id and statuses.
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByParent​(Long parentProcessInstanceId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByProcessDefinition​(String processDefId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions found for given process definition id
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByProcessDefinition​(String processDefId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions found for given process definition id
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByProcessId​(List<Integer> states, String processId, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions found for given process id and statuses and initiated by `initiator`
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByProcessName​(List<Integer> states, String processName, String initiator, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByVariable​(String variableName, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instance descriptions found for process instance that have defined given variable
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesByVariableAndValue​(String variableName, String variableValue, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process instance descriptions found for process instance that have defined given variable and its value matches given variableValue
    `Collection<ProcessInstanceDesc>` | RuntimeDataService.`getProcessInstancesWithSubprocessByProcessInstanceId​(Long processInstanceId, List<Integer> states, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process instance descriptions

  - ### Uses of ProcessInstanceDesc in org.jbpm.services.api.model

    Subinterfaces of ProcessInstanceDesc in org.jbpm.services.api.model
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ProcessInstanceCustomDesc` |
    `interface` | `ProcessInstanceWithVarsDesc` |

  - ### Uses of ProcessInstanceDesc in org.jbpm.test.services

    Methods in org.jbpm.test.services that return types with arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<Long,​ProcessInstanceDesc>` | AbstractCaseServicesTest.`mapProcessesInstances​(Collection<ProcessInstanceDesc> processes)` |

    Method parameters in org.jbpm.test.services with type arguments of type ProcessInstanceDesc
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<Long,​ProcessInstanceDesc>` | AbstractCaseServicesTest.`mapProcessesInstances​(Collection<ProcessInstanceDesc> processes)` |