BPMN Process Execution
BPMN Process Execution
The BPMN process execution is the in-memory representation of a running BPMN process. BPMN processes have their executions structured as a tree hierarchy. Each BPMN process starts with the process instance as its root level execution. If, for example, this root execution reaches a parallel gateway with two paths, it would spawn two child executions under itself for them to process all tasks along their paths on their own. Executions can access all the BPMN elements from the BPMN model as well as the BPMN process variables. You have access to this representation in your Java code through the execution
parameter when overriding certain methods in Service / Message Delegates like execute
or getAdditionalInputParameters
through the variables
parameter.