Uses of Interface
org.camunda.bpm.engine.batch.Batch
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
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.Classes related to the
HistoryService
.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
ManagementService
.Classes related to the
RuntimeService
.-
Uses of Batch in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionHistoryService.deleteHistoricDecisionInstancesAsync
(List<String> decisionInstanceIds, String deleteReason) Deletes historic decision instances asynchronously based on a list of decision instances.HistoryService.deleteHistoricDecisionInstancesAsync
(List<String> decisionInstanceIds, HistoricDecisionInstanceQuery query, String deleteReason) Deletes historic decision instances asynchronously based on query and a list of decision instances, whereby query result and list of ids will be merged.HistoryService.deleteHistoricDecisionInstancesAsync
(HistoricDecisionInstanceQuery query, String deleteReason) Deletes historic decision instances asynchronously based on query of decision instances.HistoryService.deleteHistoricProcessInstancesAsync
(List<String> processInstanceIds, String deleteReason) Deletes historic process instances asynchronously.HistoryService.deleteHistoricProcessInstancesAsync
(List<String> processInstanceIds, HistoricProcessInstanceQuery query, String deleteReason) Deletes historic process instances asynchronously based on query and a list of process instances.HistoryService.deleteHistoricProcessInstancesAsync
(HistoricProcessInstanceQuery query, String deleteReason) Deletes historic process instances asynchronously based on query.RuntimeService.deleteProcessInstancesAsync
(List<String> processInstanceIds, String deleteReason) Delete an existing runtime process instances asynchronously using Batch operation.RuntimeService.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason) Delete an existing runtime process instances asynchronously using Batch operation.RuntimeService.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners) Delete an existing runtime process instances asynchronously using Batch operation.RuntimeService.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses) Delete an existing runtime process instances asynchronously using Batch operation.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.RuntimeService.deleteProcessInstancesAsync
(ProcessInstanceQuery processInstanceQuery, String deleteReason) Delete an existing runtime process instances asynchronously using Batch operation.ManagementService.setJobRetriesAsync
(List<String> jobIds, int retries) Sets the number of retries that jobs have left asynchronously.ManagementService.setJobRetriesAsync
(List<String> jobIds, JobQuery jobQuery, int retries) Sets the number of retries that jobs have left asynchronously.ManagementService.setJobRetriesAsync
(List<String> processInstanceIds, ProcessInstanceQuery query, int retries) Sets the number of retries that jobs have left asynchronously.ManagementService.setJobRetriesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, int retries) Sets the number of retries that jobs have left asynchronously.ManagementService.setJobRetriesAsync
(JobQuery jobQuery, int retries) Sets the number of retries that jobs have left asynchronously.ExternalTaskService.setRetriesAsync
(List<String> externalTaskIds, ExternalTaskQuery externalTaskQuery, int retries) Sets the retries for external tasks asynchronously as batch.RuntimeService.setVariablesAsync
(List<String> processInstanceIds, Map<String, ?> variables) Update or create runtime process variables in the root scope of process instances.RuntimeService.setVariablesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, Map<String, ?> variables) Update or create runtime process variables in the root scope of process instances.RuntimeService.setVariablesAsync
(HistoricProcessInstanceQuery historicProcessInstanceQuery, Map<String, ?> variables) Update or create runtime process variables in the root scope of process instances.RuntimeService.setVariablesAsync
(ProcessInstanceQuery processInstanceQuery, Map<String, ?> variables) Update or create runtime process variables in the root scope of process instances. -
Uses of Batch in org.camunda.bpm.engine.batch
Modifier and TypeInterfaceDescriptioninterface
Additional statistics for a single batch. -
Uses of Batch in org.camunda.bpm.engine.externaltask
-
Uses of Batch in org.camunda.bpm.engine.history
Modifier and TypeMethodDescriptionSetRemovalTimeToHistoricBatchesBuilder.executeAsync()
Sets the removal time asynchronously as batch.SetRemovalTimeToHistoricDecisionInstancesBuilder.executeAsync()
Sets the removal time asynchronously as batch.SetRemovalTimeToHistoricProcessInstancesBuilder.executeAsync()
Sets the removal time asynchronously as batch. -
Uses of Batch in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionUpdateProcessInstancesSuspensionStateBuilderImpl.activateAsync()
MessageCorrelationAsyncBuilderImpl.correlateAllAsync()
HistoryServiceImpl.deleteHistoricDecisionInstancesAsync
(List<String> decisionInstanceIds, String deleteReason) HistoryServiceImpl.deleteHistoricDecisionInstancesAsync
(List<String> decisionInstanceIds, HistoricDecisionInstanceQuery query, String deleteReason) HistoryServiceImpl.deleteHistoricDecisionInstancesAsync
(HistoricDecisionInstanceQuery query, String deleteReason) HistoryServiceImpl.deleteHistoricProcessInstancesAsync
(List<String> processInstanceIds, String deleteReason) HistoryServiceImpl.deleteHistoricProcessInstancesAsync
(List<String> processInstanceIds, HistoricProcessInstanceQuery query, String deleteReason) HistoryServiceImpl.deleteHistoricProcessInstancesAsync
(HistoricProcessInstanceQuery query, String deleteReason) RuntimeServiceImpl.deleteProcessInstancesAsync
(List<String> processInstanceIds, String deleteReason) RuntimeServiceImpl.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason) RuntimeServiceImpl.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners) RuntimeServiceImpl.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses) RuntimeServiceImpl.deleteProcessInstancesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses) RuntimeServiceImpl.deleteProcessInstancesAsync
(ProcessInstanceQuery processInstanceQuery, String deleteReason) ModificationBuilderImpl.executeAsync()
ProcessInstanceModificationBuilderImpl.executeAsync()
ProcessInstanceModificationBuilderImpl.executeAsync
(boolean skipCustomListeners, boolean skipIoMappings) RestartProcessInstanceBuilderImpl.executeAsync()
ManagementServiceImpl.setJobRetriesAsync
(List<String> jobIds, int retries) ManagementServiceImpl.setJobRetriesAsync
(List<String> jobIds, JobQuery jobQuery, int retries) ManagementServiceImpl.setJobRetriesAsync
(List<String> processInstanceIds, ProcessInstanceQuery query, int retries) ManagementServiceImpl.setJobRetriesAsync
(List<String> processInstanceIds, ProcessInstanceQuery query, HistoricProcessInstanceQuery historicProcessInstanceQuery, int retries) ManagementServiceImpl.setJobRetriesAsync
(JobQuery jobQuery, int retries) ExternalTaskServiceImpl.setRetriesAsync
(List<String> externalTaskIds, ExternalTaskQuery externalTaskQuery, int retries) RuntimeServiceImpl.setVariablesAsync
(List<String> processInstanceIds, Map<String, ?> variables) RuntimeServiceImpl.setVariablesAsync
(List<String> processInstanceIds, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, Map<String, ?> variables) RuntimeServiceImpl.setVariablesAsync
(HistoricProcessInstanceQuery historicProcessInstanceQuery, Map<String, ?> variables) RuntimeServiceImpl.setVariablesAsync
(ProcessInstanceQuery processInstanceQuery, Map<String, ?> variables) UpdateProcessInstancesSuspensionStateBuilderImpl.suspendAsync()
-
Uses of Batch in org.camunda.bpm.engine.impl.batch
Modifier and TypeMethodDescriptionRestartProcessInstancesBatchCmd.execute
(CommandContext commandContext) Modifier and TypeMethodDescriptionBatchQueryImpl.executeList
(CommandContext commandContext, Page page) -
Uses of Batch in org.camunda.bpm.engine.impl.batch.builder
-
Uses of Batch in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionAbstractSetJobsRetriesBatchCmd.execute
(CommandContext commandContext) ModifyProcessInstanceAsyncCmd.execute
(CommandContext commandContext) ProcessInstanceModificationBatchCmd.execute
(CommandContext commandContext) SetExternalTasksRetriesBatchCmd.execute
(CommandContext commandContext) UpdateProcessInstancesSuspendStateBatchCmd.execute
(CommandContext commandContext) UpdateExternalTaskRetriesBuilderImpl.setAsync
(int retries) -
Uses of Batch in org.camunda.bpm.engine.impl.cmd.batch
Modifier and TypeMethodDescriptionCorrelateAllMessageBatchCmd.execute
(CommandContext commandContext) DeleteHistoricProcessInstancesBatchCmd.execute
(CommandContext commandContext) DeleteProcessInstanceBatchCmd.execute
(CommandContext commandContext) -
Uses of Batch in org.camunda.bpm.engine.impl.cmd.batch.removaltime
Modifier and TypeMethodDescriptionSetRemovalTimeToHistoricBatchesCmd.execute
(CommandContext commandContext) SetRemovalTimeToHistoricDecisionInstancesCmd.execute
(CommandContext commandContext) SetRemovalTimeToHistoricProcessInstancesCmd.execute
(CommandContext commandContext) -
Uses of Batch in org.camunda.bpm.engine.impl.cmd.batch.variables
Modifier and TypeMethodDescriptionSetVariablesToProcessInstancesBatchCmd.execute
(CommandContext commandContext) -
Uses of Batch in org.camunda.bpm.engine.impl.dmn.cmd
Modifier and TypeMethodDescriptionDeleteHistoricDecisionInstancesBatchCmd.execute
(CommandContext commandContext) -
Uses of Batch in org.camunda.bpm.engine.impl.history
Modifier and TypeMethodDescriptionSetRemovalTimeToHistoricBatchesBuilderImpl.executeAsync()
SetRemovalTimeToHistoricDecisionInstancesBuilderImpl.executeAsync()
SetRemovalTimeToHistoricProcessInstancesBuilderImpl.executeAsync()
-
Uses of Batch in org.camunda.bpm.engine.impl.history.producer
Modifier and TypeMethodDescriptionDefaultHistoryEventProducer.createBatchEndEvent
(Batch batch) HistoryEventProducer.createBatchEndEvent
(Batch batch) Creates the history event fired when the a batch has been completed.DefaultHistoryEventProducer.createBatchStartEvent
(Batch batch) HistoryEventProducer.createBatchStartEvent
(Batch batch) Creates the history event fired when the a batch has been started.DefaultHistoryEventProducer.createBatchUpdateEvent
(Batch batch) HistoryEventProducer.createBatchUpdateEvent
(Batch batch) Creates the history event fired when a batch has been updated. -
Uses of Batch in org.camunda.bpm.engine.impl.management
Modifier and TypeMethodDescriptionSetJobRetriesByJobsAsyncBuilderImpl.executeAsync()
SetJobRetriesByProcessAsyncBuilderImpl.executeAsync()
-
Uses of Batch in org.camunda.bpm.engine.impl.migration
-
Uses of Batch in org.camunda.bpm.engine.impl.migration.batch
Modifier and TypeMethodDescriptionMigrateProcessInstanceBatchCmd.execute
(CommandContext commandContext) -
Uses of Batch in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeMethodDescriptionBatchManager.findBatchesByQueryCriteria
(BatchQueryImpl batchQuery, Page page) -
Uses of Batch in org.camunda.bpm.engine.management
Modifier and TypeMethodDescriptionSetJobRetriesAsyncBuilder.executeAsync()
Closes the fluent builder and creates a Batch that sets the job retries and executes any additional instructions. -
Uses of Batch in org.camunda.bpm.engine.migration
Modifier and TypeMethodDescriptionMigrationPlanExecutionBuilder.executeAsync()
Execute the migration asynchronously as batch. -
Uses of Batch in org.camunda.bpm.engine.rest.dto.batch
-
Uses of Batch in org.camunda.bpm.engine.rest.dto.runtime
Modifier and TypeMethodDescriptionProcessInstanceSuspensionStateAsyncDto.updateSuspensionStateAsync
(ProcessEngine engine) -
Uses of Batch in org.camunda.bpm.engine.runtime
Modifier and TypeMethodDescriptionUpdateProcessInstancesSuspensionStateBuilder.activateAsync()
Activates the provided process instances asynchronously.MessageCorrelationAsyncBuilder.correlateAllAsync()
Correlates a message asynchronously to executions that are waiting for this message based on the provided queries and list of process instance ids, whereby query results and list of ids will be merged.ModificationBuilder.executeAsync()
Execute the modification asynchronously as batch.ProcessInstanceModificationBuilder.executeAsync()
Execute all instructions asynchronously.ProcessInstanceModificationBuilder.executeAsync
(boolean skipCustomListeners, boolean skipIoMappings) RestartProcessInstanceBuilder.executeAsync()
Executes the restart asynchronously as batch.UpdateProcessInstancesSuspensionStateBuilder.suspendAsync()
Suspends the provided process instances asynchronously.