/
BPMN Subprocess Process Flows

BPMN Subprocess Process Flows

Characteristics

Invoked by other flows

A BPMN Call Activity provides the mechanism to invoke subprocess flows.  The Called Element attribute of the Call Activity specifies the name of the subprocess to execute.

Input and Output variable mapping

In the modeler, you can specify a list of "In Mappings".  With this, you can map execution variables from the calling flow to the subprocess.  The subprocess always has its own copy of each variable.  To transfer values back to the calling flow, you specify "Out Mappings".

May throw MSOWorkflowException

The current best practice for reporting errors from subprocess is described here:

    • The subprocess should create a WorkflowException object and store it in an execution called WorkflowException.  The WorkflowException object contains an error code and an error message.
    • The subprocess should then throw an MSOWorkflowException BPMN event which may be handled by the calling flow.

Example: VnfAdapterRestV1.bpmn

Related content

BPMN Project Structure
BPMN Project Structure
More like this
BPMN Main Process Flows
BPMN Main Process Flows
More like this
Camunda Modeler
Camunda Modeler
More like this
BPMN Structure
BPMN Structure
More like this
SO Monitoring Feature Design
SO Monitoring Feature Design
More like this
VF-C: Workflow interface definition
VF-C: Workflow interface definition
More like this