IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows > Reusing mediation logic

Promoting properties in a subflow

Promoting the property of a mediation primitive in a mediation flow allows an administrator to change the value of the property at run time. When you promote a property in a subflow, it becomes a property of the subflow instance. You can then set the value of the property in the mediation flow, or further promote the property in the parent mediation flow.

You might want to set the value of the property in the mediation flow at development time. Or, if you reuse the same subflow in multiple places in a flow, you might not want to use the same alias name for the property depending on the behavior you want.

To promote a property in the subflow implementation:

  1. Open the subflow in the Mediation Subflow editor.

  2. Click a primitive to select it, and switch to the Properties view.

  3. Click the Promotable Properties tab to view the properties that are available for promotion.

  4. Select the check box in the Promoted column for the property that you want to promote.
  5. Change the Alias and Alias value of the property. In the subflow instance in the parent mediation flow, the Alias becomes the name of the property, and the alias value becomes the default value of the property.
  6. Press Ctrl-S to save your changes.

    The property is now available in all the mediation flows that use this subflow.

  7. In the Mediation Flow editor, open a mediation flow that uses the subflow.

  8. Select the subflow and switch to the Properties view.

  9. Click the Promotable Properties tab.

  10. Select the check box in the Promoted column for the property that you want to promote.

  11. Optional: Change the Alias or Alias value.

Reusing mediation logic


Related concepts:
Mediation subflows
Mediation subflow limitations


Related tasks:
Create a new mediation subflow
Editing a mediation subflow
Copying part of a mediation flow into a subflow
Adding a mediation subflow in a mediation flow
Use Service Invoke in a subflow
Synchronizing a subflow instance and implementation


Related information:
Changing the input or output message type in a subflow