Interface BpmnElementContainerProcessor<T extends ExecutableFlowElement>

    • Method Detail

      • onChildCompleted

        void onChildCompleted​(T element,
                              BpmnElementContext flowScopeContext,
                              BpmnElementContext childContext)
        A child element is completed. Leave the element container if it has no more active child elements.
        Parameters:
        element - the instance of the BPMN element container
        flowScopeContext - workflow instance-related data of the element container
        childContext - workflow instance-related data of the child element that is completed
      • onChildTerminated

        void onChildTerminated​(T element,
                               BpmnElementContext flowScopeContext,
                               BpmnElementContext childContext)
        A child element is terminated. Terminate the element container if it has no more active child elements. Or, continue with the interrupting event sub-process that was triggered and caused the termination.
        Parameters:
        element - the instance of the BPMN element container
        flowScopeContext - workflow instance-related data of the element container
        childContext - workflow instance-related data of the child element that is terminated