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

Example: Promoting properties

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
This example shows you how to use the properties promotion capability of the mediation flow editor.

A financial services company provides an interactive web-based stock market service to its customers. The company uses two different stock quote services to receive stock prices; a delayed service and a real-time service. The following diagram shows the response to the stock quote request that is returned from each service. Each response message is transformed and then logged before it is returned to the client.

Example request flow

The Promoted properties view of the LogMessage primitive shows that the Root property is promoted and its value is /body:

Promoted property Root
After the service has been running for a while, the administrator notices that there are problems with responses from the real-time service. To get more information, she decides to log the entire message rather than just the message body by changing the value of the alias LogLevel to / in the administrative console. The administrator saves the changed configuration, and the returned responses are now logged at the new level without her having need to restart the mediation module.

When a promoted property's value is changed at run time, the timeliness of the update might vary. In a cell environment, the change needs to be synchronized across all nodes. .