Creating a Broadcast Routing Channel Template
Dynamic routing channel templates can be created to route copies of the same payload file to multiple consumers. The set of consumers receiving a copy of the payload file can be defined either through the system fact ConsumerBroadcastGroup or through a business process that returns multiple consumer partner names.
Use of Sterling File Gateway is not strictly limited to the selections provided in this procedure. To simplify your initial use of broadcast with Sterling File Gateway, some suggested selections are provided.
To create a simple routing channel template to broadcast messages to a list of consumers using the ConsumerBroadcastGroup fact:When a routing channel is created using the routing
channel template above, a value for the provisioning fact, ConsumerBroadcastGroup,
must be specified and the value must correspond to a File Gateway
Partner Group. Each member of the specified Partner Group will receive
a copy of any file processed through the resulting routing channel.
Tip: The fact ConsumerBroadcastGroup does not have to be set
as a provisioning fact, it can also be set as a producer file structure
file name pattern. If the ConsumerBroadcastGroup is set by the file
name pattern in the producer file structure, the producer specifies
the name of the File Gateway Partner Group in the name of the file
they upload.
Use a Business Process to Identify Consumers
To
create a simple routing channel template to broadcast messages to
a list of consumers using a consumer identification business process,
create a business process that populates a list of consumer names
at the same process data element level. For example, a business process
named MyBroadcastList might generate the following list of three consumers
in process data:
<ProcessData>
<ConsumerNameList>
<Consumer>ConsumerOne</Consumer>
<Consumer>ConsumerTwo</Consumer>
<Consumer>ConsumerThree</Consumer>
</ConsumerNameList>
</ProcessData>
Using the name and sample process data above, create the
routing channel template as follows: - Select .
- Click Create.
- Type a name, for example DynamicBroadcastFromBP.
- Select Dynamic.
- Select ‘Business Process' for "What will determine the consumer?"
- Select ‘MyBroadcastList' for 'Business Process Name.
- Select 'ConsumerNameList/Consumer' for 'Process Data Element Name.'
- Select the desired Special Character Handling, Producer Groups and Consumer Groups
- Define the desired Producer File Structure and Consumer Delivery Channels
- Save the Routing Channel Template.