Interface SubProcessActivityBehavior
- All Superinterfaces:
ActivityBehavior
,CoreActivityBehavior<ActivityExecution>
- All Known Implementing Classes:
CallableElementActivityBehavior
,CallActivityBehavior
,CaseCallActivityBehavior
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 TypeMethodDescriptionvoid
completed
(ActivityExecution execution) Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.void
passOutputVariables
(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.ActivityBehavior
execute
-
Method Details
-
passOutputVariables
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 tocalledElementInstance
- instance of the called element that serves as the variable source
-
completed
Called after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Parameters:
execution
-- Throws:
Exception
-