Interface SubProcessActivityBehavior

All Superinterfaces:
ActivityBehavior, Serializable
All Known Implementing Classes:
CallActivityBehavior, CaseTaskActivityBehavior, ClassDelegate, MultiInstanceActivityBehavior, ParallelMultiInstanceBehavior, SequentialMultiInstanceBehavior

public interface SubProcessActivityBehavior extends ActivityBehavior
behavior for activities that delegate to a complete separate execution of a process definition. In BPMN terminology this can be used to implement a reusable subprocess.
Author:
Tom Baeyens
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
    void
    completing(DelegateExecution execution, DelegateExecution subProcessInstance)
    called before the process instance is destroyed to allow this activity to extract data from the sub process instance.

    Methods inherited from interface org.flowable.engine.impl.delegate.ActivityBehavior

    execute
  • Method Details

    • completing

      void completing(DelegateExecution execution, DelegateExecution subProcessInstance) throws Exception
      called before the process instance is destroyed to allow this activity to extract data from the sub process instance. No control flow should be done on the execution yet.
      Throws:
      Exception
    • completed

      void completed(DelegateExecution execution) throws Exception
      called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
      Throws:
      Exception