org.camunda.bpm.engine.impl.pvm.delegate
Interface SubProcessActivityBehavior

All Superinterfaces:
ActivityBehavior, CoreActivityBehavior<ActivityExecution>
All Known Implementing Classes:
CallableElementActivityBehavior, CallActivityBehavior, CaseCallActivityBehavior

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
 void completed(ActivityExecution execution)
          called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
 void completing(VariableScope execution, VariableScope 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.camunda.bpm.engine.impl.pvm.delegate.ActivityBehavior
execute
 

Method Detail

completing

void completing(VariableScope execution,
                VariableScope 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(ActivityExecution execution)
               throws Exception
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.

Throws:
Exception


Copyright © 2015 camunda services GmbH. All rights reserved.