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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompleted(ActivityExecution execution)Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.voidpassOutputVariables(ActivityExecution targetExecution, VariableScope calledElementInstance)Pass the output variables from the process instance of the subprocess to the given execution.- 
Methods inherited from interface org.camunda.bpm.engine.impl.pvm.delegate.ActivityBehaviorexecute
 
- 
 
- 
- 
- 
Method Detail- 
passOutputVariablesvoid passOutputVariables(ActivityExecution targetExecution, VariableScope calledElementInstance) Pass the output variables from the process instance of the subprocess to the given execution. This should be called before the process instance is destroyed.- Parameters:
- targetExecution- execution of the calling process instance to pass the variables to
- calledElementInstance- instance of the called element that serves as the variable source
 
 - 
completedvoid completed(ActivityExecution execution) throws java.lang.Exception Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Parameters:
- execution-
- Throws:
- java.lang.Exception
 
 
- 
 
-