Package org.flowable.engine.impl.agenda
Class TriggerExecutionOperation
java.lang.Object
org.flowable.engine.impl.agenda.AbstractOperation
org.flowable.engine.impl.agenda.TriggerExecutionOperation
- All Implemented Interfaces:
Runnable
Operation that triggers a wait state and continues the process, leaving that activity.
The
ExecutionEntity
for this operations should be in a wait state (receive task for example) and have a FlowElement
that has a behaviour that implements the
TriggerableActivityBehavior
.- Author:
- Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution
-
Constructor Summary
ConstructorsConstructorDescriptionTriggerExecutionOperation
(CommandContext commandContext, ExecutionEntity execution) TriggerExecutionOperation
(CommandContext commandContext, ExecutionEntity execution, boolean triggerAsync) -
Method Summary
Methods inherited from class org.flowable.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
Field Details
-
triggerAsync
protected boolean triggerAsync
-
-
Constructor Details
-
TriggerExecutionOperation
-
TriggerExecutionOperation
public TriggerExecutionOperation(CommandContext commandContext, ExecutionEntity execution, boolean triggerAsync)
-
-
Method Details
-
run
public void run()
-