August 16, 2023

Setting the rule schemas – Docs for ESB 6.x

Setting the rule schemas

  1. In the design workspace, double-click tRules to display its Basic
    settings
    view and define the component properties.

    use_case-trules_drl7.png

    The Property Type is automatically set to
    Repository as you have already stored
    the rule template in the Studio.
  2. Click the […] button to open a dialog
    box that lists the DRL rules stored locally in the repository.

    use_case-trules_drl8.png

  3. Select the rule template in which you want to define the rule schemas,
    ZipCodeRuleSet in this example, and then click
    OK.
  4. Use the [+] button to add two rows to the
    Outputs table, click in the Schema column and then click the […] button.

    use_case-trules_drl9.png

  5. In the open dialog box, set a name for the first output schema, call it
    Paris, and click OK.
  6. In the open dialog box, define your output schema. Copy
    zipCode and CityName from the
    input flow to the output flow and click OK.

    use_case-trules_drl10.png

  7. 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.
  8. Right-click tRules and select Row > Paris to link the component to the first
    tLogRow.
  9. Do the same and link tRules to the second
    tLogRow using the Row > Suresnes link.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x