Uses of Interface
org.camunda.bpm.engine.externaltask.ExternalTaskQuery
Packages that use ExternalTaskQuery
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 DeploymentsRuntimeService:
For starting and searching ProcessInstancesTaskService:
Exposes operations to manage human (standalone) Tasks,
such as claiming, completing and assigning tasksIdentityService:
Used for managing Users,
Groups 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.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of ExternalTaskQuery in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return ExternalTaskQueryModifier and TypeMethodDescriptionExternalTaskService.createExternalTaskQuery()Queries for tasks that the currently authenticated user has at least one of the following permissions for:Permissions.READonResources.PROCESS_INSTANCEPermissions.READ_INSTANCEonResources.PROCESS_DEFINITIONMethods in org.camunda.bpm.engine with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionExternalTaskService.setRetriesAsync(List<String> externalTaskIds, ExternalTaskQuery externalTaskQuery, int retries) Sets the retries for external tasks asynchronously as batch. -
Uses of ExternalTaskQuery in org.camunda.bpm.engine.externaltask
Methods in org.camunda.bpm.engine.externaltask that return ExternalTaskQueryModifier and TypeMethodDescriptionExternalTaskQuery.active()Only select external tasks that are currently not suspendedExternalTaskQuery.activityId(String activityId) Only select external tasks that belong to an instance of the given activityExternalTaskQuery.activityIdIn(String... activityIdIn) Only select external tasks that belong to an instances of the given activities.ExternalTaskQuery.executionId(String executionId) Only select external tasks created in the context of the given executionExternalTaskQuery.externalTaskId(String externalTaskId) Only select the external task with the given idExternalTaskQuery.externalTaskIdIn(Set<String> externalTaskIds) Only select external tasks with any of the given idsExternalTaskQuery.locked()Only select external tasks that are currently locked, i.e.ExternalTaskQuery.lockExpirationAfter(Date lockExpirationDate) Only select external tasks that have a lock expiring after the given dateExternalTaskQuery.lockExpirationBefore(Date lockExpirationDate) Only select external tasks that have a lock expiring before the given dateExternalTaskQuery.matchVariableNamesIgnoreCase()All queries for task-, process- and case-variables will match the variable names in a case-insensitive way.ExternalTaskQuery.matchVariableValuesIgnoreCase()All queries for task-, process- and case-variables will match the variable values in a case-insensitive way.ExternalTaskQuery.noRetriesLeft()Only select external tasks that have retries = 0ExternalTaskQuery.notLocked()Only select external tasks that are not currently locked, i.e.ExternalTaskQuery.orderByCreateTime()Order by create time (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderById()Order by external task id (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByLockExpirationTime()Order by lock expiration time (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByPriority()Order by priority (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByProcessDefinitionKey()Order by process definition key (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).ExternalTaskQuery.priorityHigherThanOrEquals(long priority) Only select external tasks with a priority that is higher than or equal to the given priority.ExternalTaskQuery.priorityLowerThanOrEquals(long priority) Only select external tasks with a priority that is lower than or equal to the given priority.ExternalTaskQuery.processDefinitionId(String processDefinitionId) Only select external tasks that belong to an instance of the given process definitionExternalTaskQuery.processDefinitionKey(String processDefinitionKey) Only select tasks which are part of a process instance which has the given process definition key.ExternalTaskQuery.processDefinitionKeyIn(String... processDefinitionKeys) Only select tasks which are part of a process instance which has one of the given process definition keys.ExternalTaskQuery.processDefinitionName(String processDefinitionName) Only select tasks which are part of a process instance which has the given process definition name.ExternalTaskQuery.processDefinitionNameLike(String processDefinitionName) Only select tasks which are part of a process instance which process definition name is like the given parameter.ExternalTaskQuery.processInstanceId(String processInstanceId) Only select external tasks created in the context of the given process instanceExternalTaskQuery.processInstanceIdIn(String... processInstanceIdIn) Only select external tasks created in the context of the given process instancesExternalTaskQuery.processVariableValueEquals(String variableName, Object variableValue) Only select tasks which have are part of a process that have a variable with the given name set to the given value.ExternalTaskQuery.processVariableValueGreaterThan(String variableName, Object variableValue) Only select tasks which are part of a process that have a variable with the given name and a value greater than the given one.ExternalTaskQuery.processVariableValueGreaterThanOrEquals(String variableName, Object variableValue) Only select tasks which are part of a process that have a variable with the given name and a value greater than or equal to the given one.ExternalTaskQuery.processVariableValueLessThan(String variableName, Object variableValue) Only select tasks which are part of a process that have a variable with the given name and a value less than the given one.ExternalTaskQuery.processVariableValueLessThanOrEquals(String variableName, Object variableValue) Only select tasks which are part of a process that have a variable with the given name and a value greater than or equal to the given one.ExternalTaskQuery.processVariableValueLike(String variableName, String variableValue) Only select tasks which are part of a process that have a variable with the given name and matching the given value.ExternalTaskQuery.processVariableValueNotEquals(String variableName, Object variableValue) Only select tasks which have a variable with the given name, but with a different value than the passed value.ExternalTaskQuery.processVariableValueNotLike(String variableName, String variableValue) Only select tasks which are part of a process that have a variable with the given name and not matching the given value.ExternalTaskQuery.suspended()Only select external tasks that are currently suspendedExternalTaskQuery.tenantIdIn(String... tenantIds) Only select external tasks that belong to one of the given tenant ids.Only select external tasks of the given topicExternalTaskQuery.withRetriesLeft()Only select external tasks that have retries > 0Only select external tasks that was most recently locked by the given workerMethods in org.camunda.bpm.engine.externaltask with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionUpdateExternalTaskRetriesSelectBuilder.externalTaskQuery(ExternalTaskQuery externalTaskQuery) Selects a list of external tasks with the given external task query. -
Uses of ExternalTaskQuery in org.camunda.bpm.engine.impl
Classes in org.camunda.bpm.engine.impl that implement ExternalTaskQueryMethods in org.camunda.bpm.engine.impl that return ExternalTaskQueryModifier and TypeMethodDescriptionExternalTaskQueryImpl.active()ExternalTaskQueryImpl.activityId(String activityId) ExternalTaskQueryImpl.activityIdIn(String... activityIdIn) ExternalTaskServiceImpl.createExternalTaskQuery()ExternalTaskQueryImpl.executionId(String executionId) ExternalTaskQueryImpl.externalTaskId(String externalTaskId) ExternalTaskQueryImpl.externalTaskIdIn(Set<String> externalTaskIds) ExternalTaskQueryImpl.locked()ExternalTaskQueryImpl.lockExpirationAfter(Date lockExpirationDate) ExternalTaskQueryImpl.lockExpirationBefore(Date lockExpirationDate) ExternalTaskQueryImpl.matchVariableNamesIgnoreCase()ExternalTaskQueryImpl.matchVariableValuesIgnoreCase()ExternalTaskQueryImpl.noRetriesLeft()ExternalTaskQueryImpl.notLocked()ExternalTaskQueryImpl.orderByCreateTime()ExternalTaskQueryImpl.orderById()ExternalTaskQueryImpl.orderByLockExpirationTime()ExternalTaskQueryImpl.orderByPriority()ExternalTaskQueryImpl.orderByProcessDefinitionId()ExternalTaskQueryImpl.orderByProcessDefinitionKey()ExternalTaskQueryImpl.orderByProcessInstanceId()ExternalTaskQueryImpl.orderByTenantId()ExternalTaskQueryImpl.priorityHigherThanOrEquals(long priority) ExternalTaskQueryImpl.priorityLowerThanOrEquals(long priority) ExternalTaskQueryImpl.processDefinitionId(String processDefinitionId) ExternalTaskQueryImpl.processDefinitionKey(String processDefinitionKey) ExternalTaskQueryImpl.processDefinitionKeyIn(String... processDefinitionKeys) ExternalTaskQueryImpl.processDefinitionName(String processDefinitionName) ExternalTaskQueryImpl.processDefinitionNameLike(String processDefinitionName) ExternalTaskQueryImpl.processInstanceId(String processInstanceId) ExternalTaskQueryImpl.processInstanceIdIn(String... processInstanceIdIn) ExternalTaskQueryImpl.processVariableValueEquals(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueGreaterThan(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueGreaterThanOrEquals(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueLessThan(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueLessThanOrEquals(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueLike(String variableName, String variableValue) ExternalTaskQueryImpl.processVariableValueNotEquals(String variableName, Object variableValue) ExternalTaskQueryImpl.processVariableValueNotLike(String variableName, String variableValue) ExternalTaskQueryImpl.suspended()ExternalTaskQueryImpl.tenantIdIn(String... tenantIds) ExternalTaskQueryImpl.withRetriesLeft()Methods in org.camunda.bpm.engine.impl with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionExternalTaskServiceImpl.setRetriesAsync(List<String> externalTaskIds, ExternalTaskQuery externalTaskQuery, int retries) -
Uses of ExternalTaskQuery in org.camunda.bpm.engine.impl.cmd
Fields in org.camunda.bpm.engine.impl.cmd declared as ExternalTaskQueryModifier and TypeFieldDescriptionprotected ExternalTaskQueryUpdateExternalTaskRetriesBuilderImpl.externalTaskQueryMethods in org.camunda.bpm.engine.impl.cmd that return ExternalTaskQueryMethods in org.camunda.bpm.engine.impl.cmd with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionUpdateExternalTaskRetriesBuilderImpl.externalTaskQuery(ExternalTaskQuery externalTaskQuery) -
Uses of ExternalTaskQuery in org.camunda.bpm.engine.rest.dto.externaltask
Fields in org.camunda.bpm.engine.rest.dto.externaltask with type parameters of type ExternalTaskQueryModifier and TypeFieldDescriptionstatic final Map<String,Consumer<ExternalTaskQuery>> ExternalTaskQueryDto.SORT_METHODS_BY_FIELDMethods in org.camunda.bpm.engine.rest.dto.externaltask that return ExternalTaskQueryModifier and TypeMethodDescriptionprotected ExternalTaskQueryExternalTaskQueryDto.createNewQuery(ProcessEngine engine) Methods in org.camunda.bpm.engine.rest.dto.externaltask with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionprotected voidExternalTaskQueryDto.applyFilters(ExternalTaskQuery query) protected voidExternalTaskQueryDto.applySortBy(ExternalTaskQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine) -
Uses of ExternalTaskQuery in org.camunda.bpm.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return ExternalTaskQueryModifier and TypeMethodDescriptionprotected ExternalTaskQueryAbstractProcessAssert.externalTaskQuery()static ExternalTaskQueryBpmnAwareTests.externalTaskQuery()Helper method to easily create a new ExternalTaskQueryprotected ExternalTaskQueryProcessInstanceAssert.externalTaskQuery()Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type ExternalTaskQueryModifier and TypeMethodDescriptionstatic ExternalTaskBpmnAwareTests.externalTask(ExternalTaskQuery externalTaskQuery) Helper method to easily access the only external task compliant to a given externalTaskQuery and currently available in the context of the last asserted process instance.static ExternalTaskBpmnAwareTests.externalTask(ExternalTaskQuery externalTaskQuery, ProcessInstance processInstance) Helper method to easily access the only external task compliant to a given externalTaskQuery and currently available in the context of the given process instance.ProcessInstanceAssert.externalTask(ExternalTaskQuery query) Enter into a chained external task assert inspecting only external tasks currently available in the context of the process instance under test of this ProcessInstanceAssert.