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

Broadcasting messages

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
For broadcasting, you use the Fan Out primitive in isolation to send a message one way such as when you want to send a notification and do not need a response.

Before you begin

The Fan Out primitive can perform a number of one way operations based on each occurrence of a repeating element in an input message.

About this task

Typically you broadcast a message in an order-processing flow, for example to send notifications to the warehouse for each item in an order. The following figure shows a sample wiring of the Fan Out primitive:
Sample broadcast flow

Procedure

  1. FanOut1 is dropped on the canvas and configured in iterate mode. The XPath expressions is configured to point to the repeating element of order items, in this case itemName. The FanOutContext is of the same type as the repeating element.
    Properties of Fan out
  2. XSLTransformation1 maps to the message type that the callout requires by mapping the order item in the FanOutContext to the body of the target service message object.
  3. The output terminal of FanOut1 fires for each order item in the message, which invokes the callout for each item.