Package | Description |
---|---|
org.camunda.bpm.engine |
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine can be obtained.Through the services obtained from such a ProcessEngine , BPM and workflow operation
can be executed:RepositoryService :
Manages Deployment sRuntimeService :
For starting and searching ProcessInstance sTaskService :
Exposes operations to manage human (standalone) Task s,
such as claiming, completing and assigning tasksIdentityService :
Used for managing User s,
Group s and the relations between themManagementService :
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService :
Exposes information about ongoing and past process instances.FormService :
Access to form data and rendered forms for starting new process instances and completing tasks. |
org.camunda.bpm.engine.externaltask | |
org.camunda.bpm.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
org.camunda.bpm.engine.impl.cmd | |
org.camunda.bpm.engine.impl.cmd.batch | |
org.camunda.bpm.engine.impl.migration | |
org.camunda.bpm.engine.impl.runtime | |
org.camunda.bpm.engine.migration | |
org.camunda.bpm.engine.rest.dto.runtime | |
org.camunda.bpm.engine.runtime |
Classes related to the
RuntimeService . |
org.camunda.bpm.qa.upgrade |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceQuery |
RuntimeService.createProcessInstanceQuery()
Creates a new
ProcessInstanceQuery instance, that can be used
to query process instances. |
Modifier and Type | Method and Description |
---|---|
Batch |
RuntimeService.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses)
Delete an existing runtime process instances asynchronously using Batch operation.
|
Batch |
RuntimeService.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason)
Delete an existing runtime process instances asynchronously using Batch operation.
|
Batch |
RuntimeService.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners)
Delete an existing runtime process instances asynchronously using Batch operation.
|
Batch |
RuntimeService.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses)
Delete an existing runtime process instances asynchronously using Batch operation.
|
Batch |
RuntimeService.deleteProcessInstancesAsync(ProcessInstanceQuery processInstanceQuery,
String deleteReason)
Delete an existing runtime process instances asynchronously using Batch operation.
|
Batch |
ManagementService.setJobRetriesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
int retries)
Sets the number of retries that jobs have left asynchronously.
|
Batch |
ManagementService.setJobRetriesAsync(List<String> processInstanceIds,
ProcessInstanceQuery query,
int retries)
Sets the number of retries that jobs have left asynchronously.
|
Modifier and Type | Method and Description |
---|---|
UpdateExternalTaskRetriesBuilder |
UpdateExternalTaskRetriesSelectBuilder.processInstanceQuery(ProcessInstanceQuery processInstanceQuery)
Selects a list of external tasks with the given process instance query.
|
Modifier and Type | Class and Description |
---|---|
class |
ProcessInstanceQueryImpl |
Modifier and Type | Field and Description |
---|---|
protected ProcessInstanceQuery |
ModificationBuilderImpl.processInstanceQuery |
protected ProcessInstanceQuery |
UpdateProcessInstancesSuspensionStateBuilderImpl.processInstanceQuery |
protected ProcessInstanceQuery |
SetJobsRetriesByProcessBatchCmd.query |
Modifier and Type | Method and Description |
---|---|
UpdateProcessInstancesSuspensionStateBuilder |
UpdateProcessInstancesSuspensionStateBuilderImpl.byProcessInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Batch |
RuntimeServiceImpl.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses) |
Batch |
RuntimeServiceImpl.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason) |
Batch |
RuntimeServiceImpl.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners) |
Batch |
RuntimeServiceImpl.deleteProcessInstancesAsync(List<String> processInstanceIds,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses) |
Batch |
RuntimeServiceImpl.deleteProcessInstancesAsync(ProcessInstanceQuery processInstanceQuery,
String deleteReason) |
ModificationBuilder |
ModificationBuilderImpl.processInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Batch |
ManagementServiceImpl.setJobRetriesAsync(List<String> processInstanceIds,
ProcessInstanceQuery query,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
int retries) |
Batch |
ManagementServiceImpl.setJobRetriesAsync(List<String> processInstanceIds,
ProcessInstanceQuery query,
int retries) |
Constructor and Description |
---|
SetJobsRetriesByProcessBatchCmd(List<String> processInstanceIds,
ProcessInstanceQuery query,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
int retries) |
Modifier and Type | Field and Description |
---|---|
protected ProcessInstanceQuery |
UpdateExternalTaskRetriesBuilderImpl.processInstanceQuery |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceQuery |
UpdateExternalTaskRetriesBuilderImpl.getProcessInstanceQuery() |
Modifier and Type | Method and Description |
---|---|
UpdateExternalTaskRetriesBuilder |
UpdateExternalTaskRetriesBuilderImpl.processInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Modifier and Type | Field and Description |
---|---|
protected ProcessInstanceQuery |
DeleteProcessInstanceBatchCmd.processInstanceQuery |
Constructor and Description |
---|
DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses) |
Modifier and Type | Field and Description |
---|---|
protected ProcessInstanceQuery |
MigrationPlanExecutionBuilderImpl.processInstanceQuery |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceQuery |
MigrationPlanExecutionBuilderImpl.getProcessInstanceQuery() |
Modifier and Type | Method and Description |
---|---|
MigrationPlanExecutionBuilder |
MigrationPlanExecutionBuilderImpl.processInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Modifier and Type | Method and Description |
---|---|
UpdateProcessInstancesSuspensionStateBuilder |
UpdateProcessInstanceSuspensionStateBuilderImpl.byProcessInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Modifier and Type | Method and Description |
---|---|
MigrationPlanExecutionBuilder |
MigrationPlanExecutionBuilder.processInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Modifier and Type | Method and Description |
---|---|
protected ProcessInstanceQuery |
ProcessInstanceQueryDto.createNewQuery(ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected void |
ProcessInstanceQueryDto.applyFilters(ProcessInstanceQuery query) |
protected void |
ProcessInstanceQueryDto.applySortBy(ProcessInstanceQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceQuery |
ProcessInstanceQuery.active()
Only selects process instances which are active, which means that
neither the process instance nor the corresponding process definition
are suspended.
|
ProcessInstanceQuery |
ProcessInstanceQuery.activityIdIn(String... activityIds)
Only selects process instances with leaf activity instances
or transition instances (async before, async after) in
at least one of the given activity ids.
|
ProcessInstanceQuery |
ProcessInstanceQuery.caseInstanceId(String caseInstanceId)
Selects the process instances which are associated with the given case instance id.
|
ProcessInstanceQuery |
ProcessInstanceQuery.deploymentId(String deploymentId)
Selects the process instances which belong to the given deployment id.
|
ProcessInstanceQuery |
ProcessInstanceQuery.endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.
|
ProcessInstanceQuery |
ProcessInstanceQuery.incidentId(String incidentId)
Only selects process instances with the given incident id.
|
ProcessInstanceQuery |
ProcessInstanceQuery.incidentMessage(String incidentMessage)
Only selects process instances with the given incident message.
|
ProcessInstanceQuery |
ProcessInstanceQuery.incidentMessageLike(String incidentMessageLike)
Only selects process instances with an incident message like the given.
|
ProcessInstanceQuery |
ProcessInstanceQuery.incidentType(String incidentType)
Only selects process instances with the given incident type.
|
ProcessInstanceQuery |
ProcessInstanceQuery.leafProcessInstances()
Only selects process instances which don't have subprocesses and thus are leaves of the execution tree.
|
ProcessInstanceQuery |
ProcessInstanceQuery.matchVariableNamesIgnoreCase()
The query will match the names of process-variables in a case-insensitive way.
|
ProcessInstanceQuery |
ProcessInstanceQuery.matchVariableValuesIgnoreCase()
The query will match the values of process-variables in a case-insensitive way.
|
ProcessInstanceQuery |
ProcessInstanceQuery.or()
After calling or(), a chain of several filter criteria could follow.
|
ProcessInstanceQuery |
ProcessInstanceQuery.orderByBusinessKey()
Order by the business key (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
ProcessInstanceQuery.orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
ProcessInstanceQuery.orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
ProcessInstanceQuery.orderByProcessInstanceId()
Order by id (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
ProcessInstanceQuery.orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
ProcessInstanceQuery.processDefinitionId(String processDefinitionId)
Selects the process instances which are defined by a process definition
with the given id.
|
ProcessInstanceQuery |
ProcessInstanceQuery.processDefinitionKey(String processDefinitionKey)
Select the process instances which are defined by a process definition with
the given key.
|
ProcessInstanceQuery |
ProcessInstanceQuery.processDefinitionKeyIn(String... processDefinitionKeys)
Select the process instances for any given process definition keys.
|
ProcessInstanceQuery |
ProcessInstanceQuery.processDefinitionKeyNotIn(String... processDefinitionKeys)
Select historic process instances that don't have a process-definition of which the key is present in the given list
|
ProcessInstanceQuery |
ProcessInstanceQuery.processDefinitionWithoutTenantId()
Only selects process instances which process definition has no tenant id.
|
ProcessInstanceQuery |
ProcessInstanceQuery.processInstanceBusinessKey(String processInstanceBusinessKey)
Select process instances with the given business key
|
ProcessInstanceQuery |
ProcessInstanceQuery.processInstanceBusinessKey(String processInstanceBusinessKey,
String processDefinitionKey)
Select process instance with the given business key, unique for the given process definition
|
ProcessInstanceQuery |
ProcessInstanceQuery.processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
Select process instances with a business key like the given value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.processInstanceId(String processInstanceId)
Select the process instance with the given id
|
ProcessInstanceQuery |
ProcessInstanceQuery.processInstanceIds(Set<String> processInstanceIds)
Select process instances whose id is in the given set of ids
|
ProcessInstanceQuery |
ProcessInstanceQuery.rootProcessInstances()
Only selects process instances which are top level process instances.
|
ProcessInstanceQuery |
ProcessInstanceQuery.subCaseInstanceId(String subCaseInstanceId)
Select the process instance that has as sub case instance the given
case instance.
|
ProcessInstanceQuery |
ProcessInstanceQuery.subProcessInstanceId(String subProcessInstanceId)
Select the process instance that have as sub process instance the given
process instance.
|
ProcessInstanceQuery |
ProcessInstanceQuery.superCaseInstanceId(String superCaseInstanceId)
Select the process instances which are a sub process instance of the given
super case instance.
|
ProcessInstanceQuery |
ProcessInstanceQuery.superProcessInstanceId(String superProcessInstanceId)
Select the process instances which are a sub process instance of the given
super process instance.
|
ProcessInstanceQuery |
ProcessInstanceQuery.suspended()
Only selects process instances which are suspended, either because the
process instance itself is suspended or because the corresponding process
definition is suspended
|
ProcessInstanceQuery |
ProcessInstanceQuery.tenantIdIn(String... tenantIds)
Only select process instances with one of the given tenant ids.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueEquals(String name,
Object value)
Only select process instances which have a global variable with the given value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueGreaterThan(String name,
Object value)
Only select process instances which have a variable value greater than the passed value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueGreaterThanOrEqual(String name,
Object value)
Only select process instances which have a global variable value greater than or equal to
the passed value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueLessThan(String name,
Object value)
Only select process instances which have a global variable value less than the passed value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueLessThanOrEqual(String name,
Object value)
Only select process instances which have a global variable value less than or equal to the passed value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueLike(String name,
String value)
Only select process instances which have a global variable value like the given value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.variableValueNotEquals(String name,
Object value)
Only select process instances which have a global variable with the given name, but
with a different value than the passed value.
|
ProcessInstanceQuery |
ProcessInstanceQuery.withIncident()
Only selects process instances with at least one incident.
|
ProcessInstanceQuery |
ProcessInstanceQuery.withoutTenantId()
Only selects process instances which have no tenant id.
|
Modifier and Type | Method and Description |
---|---|
UpdateProcessInstancesSuspensionStateBuilder |
UpdateProcessInstancesRequest.byProcessInstanceQuery(ProcessInstanceQuery processInstanceQuery)
Selects a list of process instances with the given a process instance query.
|
ModificationBuilder |
ModificationBuilder.processInstanceQuery(ProcessInstanceQuery processInstanceQuery) |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceQuery |
UpgradeTestRule.processInstanceQuery() |
Copyright © 2021. All rights reserved.