public interface OnParentEndDependantActivityBehavior
| Modifier and Type | Method and Description |
|---|---|
void |
onParentEnd(CommandContext commandContext,
PlanItemInstanceEntity planItemInstanceEntity,
String parentEndTransition,
String exitEventType)
This method will be triggered on a child plan item instance whenever its parent transitions to an ending state with all necessary information to
implement the necessary behavior.
|
void onParentEnd(CommandContext commandContext, PlanItemInstanceEntity planItemInstanceEntity, String parentEndTransition, String exitEventType)
CmmnEngineAgenda.planTerminatePlanItemInstanceOperation(PlanItemInstanceEntity, String, String) or
CmmnEngineAgenda.planCompletePlanItemInstanceOperation(PlanItemInstanceEntity).commandContext - the command context under which this hook gets invokedplanItemInstanceEntity - the plan item instance to put into an ending stateparentEndTransition - the transition of the parent plan item instance to its ending state as it might have an impact on how to end this plan item instanceexitEventType - the optional exit event type (e.g. Criterion.EXIT_EVENT_TYPE_COMPLETE, etc) if the parent was ended
through an exit sentry, the exit event type will contain information on how exactly the exit was triggered (e.g. exit or complete, etc)Copyright © 2021 Flowable. All rights reserved.