Package org.flowable.engine.runtime
Interface ActivityInstanceQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<ActivityInstanceQuery,
ActivityInstance>
- All Known Implementing Classes:
ActivityInstanceQueryImpl
public interface ActivityInstanceQuery
extends org.flowable.common.engine.api.query.Query<ActivityInstanceQuery,ActivityInstance>
Programmatic querying for
ActivityInstance
s.- Author:
- martin.grofcik
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) Only select activity instances for the given activity (id from BPMN 2.0 XML)activityInstanceId
(String activityInstanceId) Only select activity instances with the given id (primary key within history tables).activityName
(String activityName) Only select activity instances for activities with the given nameactivityTenantId
(String tenantId) Only select activity instances that have the given tenant id.activityTenantIdLike
(String tenantIdLike) Only select activity instances with a tenant id like the given one.activityType
(String activityType) Only select activity instances for activities with the given activity typeOnly select activity instances that do not have a tenant id.deleteReason
(String deleteReason) Only select activity instances with a specific delete reason.deleteReasonLike
(String deleteReasonLike) Only select activity instances with a delete reason that matches the provided parameter.executionId
(String executionId) Only select activity instances for the given executionfinished()
Only select activity instances that are finished.Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by end (needs to be followed byQuery.asc()
orQuery.desc()
).Order by id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by start (needs to be followed byQuery.asc()
orQuery.desc()
).Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
).Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
).Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).processDefinitionId
(String processDefinitionId) Only select activity instances for the given process definitionprocessInstanceId
(String processInstanceId) Only select activity instances with the given process instance.taskAssignee
(String userId) Only select activity instances for userTask activities assigned to the given userOnly select activity instances that are not finished yet.Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Method Details
-
activityInstanceId
Only select activity instances with the given id (primary key within history tables). -
processInstanceId
Only select activity instances with the given process instance.ProcessInstance
ids andActivityInstance.getProcessInstanceId()
ids match. -
processDefinitionId
Only select activity instances for the given process definition -
executionId
Only select activity instances for the given execution -
activityId
Only select activity instances for the given activity (id from BPMN 2.0 XML) -
activityName
Only select activity instances for activities with the given name -
activityType
Only select activity instances for activities with the given activity type -
taskAssignee
Only select activity instances for userTask activities assigned to the given user -
finished
ActivityInstanceQuery finished()Only select activity instances that are finished. -
unfinished
ActivityInstanceQuery unfinished()Only select activity instances that are not finished yet. -
deleteReason
Only select activity instances with a specific delete reason. -
deleteReasonLike
Only select activity instances with a delete reason that matches the provided parameter. -
activityTenantId
Only select activity instances that have the given tenant id. -
activityTenantIdLike
Only select activity instances with a tenant id like the given one. -
activityWithoutTenantId
ActivityInstanceQuery activityWithoutTenantId()Only select activity instances that do not have a tenant id. -
orderByActivityInstanceId
ActivityInstanceQuery orderByActivityInstanceId()Order by id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessInstanceId
ActivityInstanceQuery orderByProcessInstanceId()Order by processInstanceId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByExecutionId
ActivityInstanceQuery orderByExecutionId()Order by executionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityId
ActivityInstanceQuery orderByActivityId()Order by activityId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityName
ActivityInstanceQuery orderByActivityName()Order by activityName (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityType
ActivityInstanceQuery orderByActivityType()Order by activityType (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityInstanceStartTime
ActivityInstanceQuery orderByActivityInstanceStartTime()Order by start (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityInstanceEndTime
ActivityInstanceQuery orderByActivityInstanceEndTime()Order by end (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByActivityInstanceDuration
ActivityInstanceQuery orderByActivityInstanceDuration()Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByProcessDefinitionId
ActivityInstanceQuery orderByProcessDefinitionId()Order by processDefinitionId (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
ActivityInstanceQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-