-
In the design workspace, double-click tRules to display its Basic
settings view and define the component properties.
The Property Type is automatically set to
Repository as you have already stored
the rule template in the Studio.
-
Click the [...] button to open a dialog
box that lists the DRL rules stored locally in the repository.
-
Select the rule template in which you want to define the rule schemas,
ZipCodeRuleSet in this example, and then click
OK.
-
Use the [+] button to add two rows to the
Outputs table, click in the Schema column and then click the [...] button.
-
In the open dialog box, set a name for the first output schema, call it
Paris, and click OK.
-
In the open dialog box, define your output schema. Copy
zipCode and CityName from the
input flow to the output flow and click OK.
-
Do the same to create a second output schema, call it
Suresnes and similarly copy the two input columns
to the output flow.
Each of the two output schemas will use one of the two DRL rules you will
define in the rule template.
-
Right-click tRules and select Row > Paris to link the component to the first
tLogRow.
-
Do the same and link tRules to the second
tLogRow using the Row > Suresnes link.