Package com.flowable.agent.api.runtime
Interface AgentInstanceQuery
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<AgentInstanceQuery,
AgentInstance>
public interface AgentInstanceQuery
extends org.flowable.common.engine.api.query.Query<AgentInstanceQuery,AgentInstance>
-
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 TypeMethodDescriptionagentDefinitionId
(String agentDefinitionId) Query by the ID of the agent definitionagentDefinitionKey
(String agentDefinitionKey) Query by the key of the agent definitioncallbackId
(String callbackId) Query by the agent instance callback idcallbackType
(String callbackType) Query by the agent instance callback typeQuery only agent instances which are chat disabled.Query only agent instances which are chat enabled.finished()
Query only agent instances which are finished.Query by the id of the instanceids
(Collection<String> ids) Query by multiple ids of instancesreferenceId
(String referenceId) Query by the agent instance reference idreferenceType
(String referenceType) Query by the agent instance reference typestartUserId
(String startUserId) Query by the id of the user that started the instanceQuery by the tenant id of the instanceQuery only agent instances which are not yet finished.Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Method Details
-
id
Query by the id of the instance -
ids
Query by multiple ids of instances -
tenantId
Query by the tenant id of the instance -
agentDefinitionId
Query by the ID of the agent definition -
agentDefinitionKey
Query by the key of the agent definition -
startUserId
Query by the id of the user that started the instance -
referenceType
Query by the agent instance reference type -
referenceId
Query by the agent instance reference id -
callbackType
Query by the agent instance callback type -
callbackId
Query by the agent instance callback id -
finished
AgentInstanceQuery finished()Query only agent instances which are finished. -
unfinished
AgentInstanceQuery unfinished()Query only agent instances which are not yet finished. -
chatEnabled
AgentInstanceQuery chatEnabled()Query only agent instances which are chat enabled. -
chatDisabled
AgentInstanceQuery chatDisabled()Query only agent instances which are chat disabled. -
orderByStartTime
AgentInstanceQuery orderByStartTime()
-