Promoting a property
You can promote a message flow node property to the message flow level to simplify the maintenance of the message flow and its nodes, and to provide common values for multiple message flow nodes in the flow by converging promoted properties.
Before you begin
- Create a message flow, as described by Creating a message flow
- Read the concept topic about promoted properties
About this task
- Properties that name mapping modules
- A property group (but you can promote an individual property)
- A property that you cannot edit (for example, the Fix property of the MQInput node)
- The description properties (Short Description and Long Description)
- Complex properties (for example, the Query elements property of the DatabaseRoute node, or the Opaque elements property of the MQInput and several other nodes)
Procedure
To promote message flow node properties to the message flow level, complete the following steps:
Results
The message flow node properties are promoted to the message flow. When you have promoted a property, you can no longer make any changes to that property at the node level; you can update its value only at the message flow level. To view the message flow's properties, click the message flow (not the individual nodes) in the Message Flow editor to display the properties in the Properties view. The properties that you have promoted are organized in the groups that you created. If you now set a value for one of these properties, that value appears as the default value for the property whenever the message flow is included in other message flows.
When you select an embedded message flow in another message flow (a subflow) and view its properties, you see the promoted property values. If you look inside the embedded flow (by selecting Open Subflow), you see the original values for the properties. The value of a promoted property does not replace the original property, but it takes precedence when you deploy the message flow.
Promoting properties by dragging
About this task
Procedure
Promoting mandatory properties
About this task
If you promote a property that is mandatory (that is, an asterisk appears beside the name in the Properties view), the mandatory characteristic of the property is preserved. When a mandatory property is promoted, its value does not need to be set at the node level. If the flow that contains the mandatory promoted property is included as a subflow in another flow, the property must be populated for the subflow node.
Promoting properties through a hierarchy of message flows
About this task
You can repeat the process of promoting message flow node properties through several levels of message flow. You can promote properties from any level in the hierarchy to the next level above, and so on through the hierarchy to the top level. The value of a property is propagated from the highest point in the hierarchy at which it is set down to the original message flow node when the message flow is deployed to an integration node. The value of that property on the original message flow node is overridden.