Setting the rule schemas - 7.1

Business rules

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Processing components (Integration) > Business rules components
Data Quality and Preparation > Third-party systems > Processing components (Integration) > Business rules components
Design and Development > Third-party systems > Processing components (Integration) > Business rules components
EnrichPlatform
Talend Studio

Procedure

  1. 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.
  2. Click the [...] button to open a dialog box that lists the DRL rules stored locally in the repository.
  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.
  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.
  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.