Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 condition conditions derived from incoming data fields. We will start

To define MCE-style routing in IWS translator:

  1. Start by creating

...

  1. a simple workflow

...

  1. with

...

  1. Begin, translator, and

...

  1. End shapes.

    QUESTION:

...

  1. 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 ShapesImage Added
  2. Double-click

...

  1. the router_translator shape, and provide a name for it.

...

  1. You see the following screen

...

  1. .

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

  3. In the Objects toolbox, drag one or more "routerRouter's choice" element Choice elements onto the worksheet. Populate an expression for the router and "info" property (it will be displayed in the router translator)

...

  1. .
    For ease of mapping, you

...

  1. can also add

...

  1. the Source grid to the worksheet, but it is not necessary.
    Return to the router 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 ElementsImage Added
  2. Click the router_translator tab and click 'refresh' button under then clickImage Added Apply settings from the router worksheet button below the router block.
    The picture will expand canvas expands to show you the newly added router's choices.

Image Removed

  1. Drag View Router's ChoicesImage Added
  2. In the Processing Tasks toolbox, drag two Message Translator tasks and drop them to the right of each router choice, And then Then connect the elements:

Image Removed


  1. In the following example, Translator1 and Translator2 are currently just empty shapes. You have to double
    Create Translator1 and Translator2 ShapesImage Added
  2. Double-click on each Translator1 and Translator2 and define the mapping for each one.

...

  1. Define Translator1 and Translator2 MappingsImage Added
    By default, outbound rules group incoming data.
  2. To avoid that situation, and to have line-by-line routing instead, clear the "Enable grouping" checkbox click the router_translator tab, and then click Properties.
  3. Clear the Enable Grouping check box in the router translator's worksheet propreties Worksheet Properties dialog box.
    Worksheet Properties Box - Enable Grouping check boxImage Added
  4. Image Removed

...

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

...

  1. .Publish Solution windowImage Added