Questions:
- In the sections up front that describe each part of the toolbox, do we now need
- Processing Tasks section that describes processing task icons such as MessageRouter? When do the Processing Tasks options appear?
- Objects section that describes objuects such as Router's Choice? When do the Objects options appear?
- Ditto Router's Lib, Translator's Lib sections of Toolbox
- Is router_translator a new type of translator Activity in the Toolbox? Does a new icon need to be added to the Activities page that describes toolbox options?
This article describes how you can build Message Center Editor-style routing inside a single IWS translator. This kind of routing allows you to route different messages to different translators based on conditions derived from incoming data fields.
To define MCE-style routing in IWS translator:
- Start by creating a simple workflow with Begin, translator, and End shapes.
QUESTION: I only see the Task Translator activity in the Activities list. Under what conditions do you see the router_translator activity icon in your toolbox? Or did you rename it from task_translator to router_translator yourself? - Double-click the router_translator shape, and provide a name for it.
You see the following screen.
QUESTION: Do you enter the name in the Properties pane? does that make the processing tasks appear? - Double-click the router translator shape to add and manage routing expressions.
- In the Objects toolbox, drag one or more Router's Choice elements onto the worksheet. Populate an expression for the router and "info" property (it will be displayed in the router translator).
For ease of mapping, you can also add the Source grid to the worksheet, but it is not necessary.
QUESTION: What is the purpose of Router's Choice? What is an "info" property? Is it Description in the Properties pane? - Click the router_translator tab and then click Apply settings from the router worksheet button below the router block to refresh the worksheet.
The canvas expands to show you the newly added router's choices.
WRITERS NOTE: this is not a Refresh button. The tooltip does not say Refresh. - In the Processing Tasks toolbox, drag two Message Translator tasks and drop them to the right of each router choice, Then connect the elements.
In the following example, Translator1 and Translator2 are currently just empty shapes. - Double-click the Translator1 and Translator2 shapes and define the mapping for each one.
By default, outbound rules group incoming data. - To avoid that situation, and to have line-by-line routing instead, click the router_translator tab, and then click Properties.
- Clear the Enable Grouping check box in the router translator's Worksheet Properties dialog box.
- Click Publish.
In the Publish Solution preview screen, you can now see that the stream contains additional translators, and there are appropriate mapping expressions in the rsf file.
0 Comments