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 forActivityInstance
s.- Author:
- martin.grofcik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityInstanceQuery
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.
-
-
-
Method Detail
-
activityInstanceId
ActivityInstanceQuery activityInstanceId(String activityInstanceId)
Only select activity instances with the given id (primary key within history tables).
-
processInstanceId
ActivityInstanceQuery processInstanceId(String processInstanceId)
Only select activity instances with the given process instance.ProcessInstance
ids andActivityInstance.getProcessInstanceId()
ids match.
-
processDefinitionId
ActivityInstanceQuery processDefinitionId(String processDefinitionId)
Only select activity instances for the given process definition
-
executionId
ActivityInstanceQuery executionId(String executionId)
Only select activity instances for the given execution
-
activityId
ActivityInstanceQuery activityId(String activityId)
Only select activity instances for the given activity (id from BPMN 2.0 XML)
-
activityName
ActivityInstanceQuery activityName(String activityName)
Only select activity instances for activities with the given name
-
activityType
ActivityInstanceQuery activityType(String activityType)
Only select activity instances for activities with the given activity type
-
taskAssignee
ActivityInstanceQuery taskAssignee(String userId)
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
ActivityInstanceQuery deleteReason(String deleteReason)
Only select activity instances with a specific delete reason.
-
deleteReasonLike
ActivityInstanceQuery deleteReasonLike(String deleteReasonLike)
Only select activity instances with a delete reason that matches the provided parameter.
-
activityTenantId
ActivityInstanceQuery activityTenantId(String tenantId)
Only select activity instances that have the given tenant id.
-
activityTenantIdLike
ActivityInstanceQuery activityTenantIdLike(String tenantIdLike)
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()
).
-
-