Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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:

  1. 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?

    Workflow with Begin, Translator, and End Shapes
  2. Double-click the router_translator shape, and provide a name for it.
    You see the following screen.

    QUESTION: does that make the processing tasks appear? Or did you click a task in Solutions Explorer in the Router folder? 
    Router Translator Tasks
  3. Double-click the router translator shape to add and manage routing expressions.
    QUSTiON: Double-click the Router Translater activity shape with the cog wheels? Or double-click a processing task?

  4. 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: Drag it from where? The Objects toolbox? this is not clear unless you already know how to do it. what do all the arrows mean? What is the purpose of Router's Choice? What is an "info" property? Is it Description?

    Set Up Router's Choice Elements
  5. Click the router_translator tab and then click Apply settings from the router worksheet button below the router block.
    The canvas expands to show you the newly added router's choices.
    View Router's Choices
  6. 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.
    Create Translator1 and Translator2 Shapes
  7. Double-click Translator1 and Translator2 and define the mapping for each one.
    Define Translator1 and Translator2 Mappings
    By default, outbound rules group incoming data.
  8. To avoid that situation, and to have line-by-line routing instead, click the router_translator tab, and then click Properties.
  9. Clear the Enable Grouping check box in the router translator's Worksheet Properties dialog box.
    Worksheet Properties Box - Enable Grouping check box
  10. 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.
    Publish Solution window


  • No labels