NextGen Knowledge Center

Creating Iterators From Drag-and-Drop

As explained in the Message Trees Tab section, new rules and steps can be created by right-clicking the node in the message tree, by dragging a node into the filter/transformer table, or by dragging a node from the inbound tree and dropping it onto a node in the outbound tree. In all of these cases, you will be presented with a prompt asking whether you want to create an Iterator automatically.

If Yes is chosen, the Iterator Wizard dialog is shown.

In this wizard dialog you can select your iteration target (what to iterate on). If you have dragged from inbound to the outbound template, you will also have the option to select which part of the outbound (tmp) expression corresponds to the inbound (msg) target being iterated on. These options correspond directly to the drag-and-drop substitutions shown at the bottom of the dialog. You are essentially telling the wizard "where the i goes"

Once you select OK, the Iterator and subsequent rule/step will be created.

So far it is only iterating at one level though. In the example for this section, we wanted to iterate not only through each OBR segment, but also through each OBR.16 field repetition. So we want to take the current selected step and assign it to an additional, nested Iterator.