Package com.flowable.agent.api.runtime
Interface ContinueAgentInstanceExchangeBuilder
public interface ContinueAgentInstanceExchangeBuilder
-
Method Summary
Modifier and TypeMethodDescriptionagentInstanceId
(String agentInstanceId) Set the id of the agent instanceexchange()
Continue the exchange of an agent instanceoperationKey
(String operationKey) The key of the operation which should be executedSets variables passed to the agent instance.withUserGroupKeys
(Set<String> permissionGroupKeys) The user groups permission to invoking the agent instancewithUserId
(String permissionUserId) The user permission invoking the agent instance
-
Method Details
-
agentInstanceId
Set the id of the agent instance -
variables
Sets variables passed to the agent instance. -
operationKey
The key of the operation which should be executed -
withUserId
The user permission invoking the agent instance -
withUserGroupKeys
The user groups permission to invoking the agent instance -
exchange
AgentInstance exchange()Continue the exchange of an agent instance- Throws:
org.flowable.common.engine.api.FlowableIllegalArgumentException
- if agentDefinitionKey and agentDefinitionId are nullorg.flowable.common.engine.api.FlowableObjectNotFoundException
- when no agent definition is deployed with the given agentDefinitionKey or agentDefinitionId
-