This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Mediation subflows

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
A mediation subflow is a pre-configured set of mediation primitives that are wired together to realize a common pattern or use case. Mediation subflows are run in the context of a parent flow, and can be reused in mediation flows or in subflows.

Use mediation subflows to reuse common patterns in mediation flows, and also as a way to group primitives in the Mediation Flow editor.

A mediation subflow can be created in a module, mediation module, or library. A mediation subflow must be used within a mediation flow. It is good practice to store subflows in libraries so that they can be easily shared between mediation flows in different modules.

A mediation subflow has one or more in nodes, one or more mediation primitives, and one more out nodes. Unlike mediation flows, the inputs and outputs of a subflow are not tied to specific interfaces. Instead, the in and out nodes represent the inputs and outputs of the subflow. In a wired mediation flow, these nodes have message types associated with them. The message types on these nodes are not defined when the subflow is created; they can be changed later. The subflow implementation is defined in the Subflow Editor.

Mediation subflows are executed in the context of a parent flow. Properties that are promoted in a subflow are propagated up to the mediation flow in which the subflow is used. A subflow instance in a mediation flow has these properties in the Properties view:
  • The Details page lists the properties that have been promoted in the subflow editor. Here, you can change the value of a property.
  • The References page lists the properties of Service Invoke primitives in the subflow.
  • The Promotable Properties page lists the properties that have been promoted in the subflow. You can further promote these properties in the mediation flow.

You can create a Mediation Subflow from the File menu, or from the Mediation Flow editor. See topic "Creating Mediation Subflows" in related tasks for more information.