Class FailPlanItemInstanceOperation

All Implemented Interfaces:
Runnable

public class FailPlanItemInstanceOperation extends AbstractMovePlanItemInstanceToTerminalStateOperation
Operation that moves a plan item instance to the PlanItemInstanceState.FAILED state via the PlanItemTransition.FAULT transition. For tasks: children are NOT affected (non-propagating per CMMN 1.1 spec). For stages (when the fault propagates to a stage with a catching sentry): children are terminated via exitChildPlanItemInstances, since the stage is ending as a scope — consistent with BPMN where a subprocess is cleaned up when a boundary error event catches an error.
Author:
Joram Barrez