Basic settings of tBRMS - 6.5

Business rules

author
Talend Documentation Team
EnrichVersion
6.5
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. Click tBRMS to open its Basic settings view.
  2. Click [...] next to Edit schema to open the schema editor.
    The input schema to the left is automatically retrieved from tMap.
  3. In the output area to the right, click [+] to add a new column which will serve to write the output data to an XML file. Enter a name for the column and define the Type as String.
    Click OK to validate your changes and close the dialog box.
  4. From the XML Field list, select the name of the XML column you entered in the output schema.
  5. From the Choose rule module list, select Use latest deployment from KIE workbench to download the Jar file from the Drools repository incorporated in Talend Administration Center .
    For further information on using Drools to build and deploy business rules, see Talend Administration Center User Guide.
  6. In the Drools Workbench URL, enter the address of the Drools Workbench incorporated in Talend Administration Center .
  7. Type in the user name and the password used to connect to the Talend Administration Center that embeds Drools.
    Enter Talend Administration Center address in the TAC URL field.
    When Drools is installed in the same web server as Talend Administration Center , you can use the name of Talend Administration Center application instead of the full URL.
  8. Next to Module List, click [...] to open the [Deploy Jar] dialog box.
    In this dialog box, the URL, Username, Password and URL of TAC fields are already filled with the corresponding information you entered in the earlier steps.
  9. Click [...] to browse the Jar files in the [Select Jarfile] dialog box and select the jar package org.talend.bank for this example.
  10. From the list next to the selected jar package, select the class org.talend.bank.LoanSimulator and then click OK to close the dialog box.
    A Talend programme transforms the business rule library into a form which can be used in the Job and creates an XSD file at the root of your studio, at /studio_path/Drools/<project_name>. The XSD file records the mapping between the incoming data flow and the objects to be handled by the Drools engine.
  11. In the Drools Flow ID (optional) field, enter, between quotation marks, the ID of Drools flow to be used when executing the rules of interest.
    In this example, it is loanflow. For more information about Drools flow, see the relevant Drools manuals.