Uses of Interface
org.flowable.engine.runtime.ActivityInstanceQuery
Package
Description
Public API of the Flowable 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
s.RuntimeService
: For starting and searching ProcessInstance
s.TaskService
: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.IdentityService
: Used for managing users, groups and the relations between them.ManagementService
: Exposes engine administration and maintenance operations,
which have no relation to the runtime exection of business processes.HistoryService
: 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.
Classes related to the
RuntimeService
.-
Uses of ActivityInstanceQuery in org.flowable.engine
Modifier and TypeMethodDescriptionRuntimeService.createActivityInstanceQuery()
Creates a newActivityInstanceQuery
instance, that can be used to query activities in the currently running process instances. -
Uses of ActivityInstanceQuery in org.flowable.engine.impl
Modifier and TypeMethodDescriptionActivityInstanceQueryImpl.deleteReason
(String deleteReason) ActivityInstanceQueryImpl.deleteReasonLike
(String deleteReasonLike) ActivityInstanceQueryImpl.orderByActivityId()
-
Uses of ActivityInstanceQuery in org.flowable.engine.runtime
Modifier and TypeMethodDescriptionActivityInstanceQuery.activityId
(String activityId) Only select activity instances for the given activity (id from BPMN 2.0 XML)ActivityInstanceQuery.activityInstanceId
(String activityInstanceId) Only select activity instances with the given id (primary key within history tables).ActivityInstanceQuery.activityName
(String activityName) Only select activity instances for activities with the given nameActivityInstanceQuery.activityTenantId
(String tenantId) Only select activity instances that have the given tenant id.ActivityInstanceQuery.activityTenantIdLike
(String tenantIdLike) Only select activity instances with a tenant id like the given one.ActivityInstanceQuery.activityType
(String activityType) Only select activity instances for activities with the given activity typeActivityInstanceQuery.activityWithoutTenantId()
Only select activity instances that do not have a tenant id.ActivityInstanceQuery.deleteReason
(String deleteReason) Only select activity instances with a specific delete reason.ActivityInstanceQuery.deleteReasonLike
(String deleteReasonLike) Only select activity instances with a delete reason that matches the provided parameter.ActivityInstanceQuery.executionId
(String executionId) Only select activity instances for the given executionActivityInstanceQuery.finished()
Only select activity instances that are finished.ActivityInstanceQuery.orderByActivityId()
Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityInstanceDuration()
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityInstanceEndTime()
Order by end (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityInstanceId()
Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityInstanceStartTime()
Order by start (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityName()
Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByActivityType()
Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByExecutionId()
Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByProcessDefinitionId()
Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByProcessInstanceId()
Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).ActivityInstanceQuery.processDefinitionId
(String processDefinitionId) Only select activity instances for the given process definitionActivityInstanceQuery.processInstanceId
(String processInstanceId) Only select activity instances with the given process instance.ActivityInstanceQuery.taskAssignee
(String userId) Only select activity instances for userTask activities assigned to the given userActivityInstanceQuery.unfinished()
Only select activity instances that are not finished yet.