public interface CmmnTriggerableActivityBehavior extends CmmnActivityBehavior
CmmnActivityBehavior, when the CMMN engine
decides the behavior for a plan item needs to be executed and the behavior
acts as a wait state.
This means that after the CmmnActivityBehavior.execute(DelegatePlanItemInstance) method is called,
the engine will not automatically complete the corresponding PlanItemInstance
as happens for the CmmnActivityBehavior implementations.
Note that 'triggering' a plan item that acts as a wait state is not part
of the CMMN specification, but has been added as an explicit concept to mimic
the concept of 'triggering' used by the process engine.
Any plan item that implements this interface should be triggereable programmatically
through the CmmnRuntimeService.triggerPlanItemInstance(String) method.
Concrete implementations of this class will be set on the PlanItem
in the case model during parsing.| Modifier and Type | Method and Description |
|---|---|
void |
trigger(DelegatePlanItemInstance planItemInstance) |
executevoid trigger(DelegatePlanItemInstance planItemInstance)
Copyright © 2019 Flowable. All rights reserved.