tBRMS Standard properties - 7.3

Business rules

Version
7.3
Language
English
Product
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
Module
Talend Studio
Content
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
Last publication date
2024-02-21

These properties are used to configure tBRMS running in the Standard Job framework.

The Standard tBRMS component belongs to the Processing family.

This component is available in Talend Data Management Platform, Talend Big Data Platform, Talend Real Time Big Data Platform, Talend Data Services Platform, Talend MDM Platform and Talend Data Fabric.

Basic settings

Property type

Either Built-in or Repository .

 

Built-in: No property data stored centrally.

 

Repository: Select the repository file where properties are stored. The fields that follow are completed automatically using the fetched data.

Schema and Edit Schema

A schema is a row description, it defines the number of fields that will be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the Repository Content window.

 

Built-in: You create and store the schema locally for only the current component. Related topic: see Talend Studio User Guide.

 

Repository: The schema already exists and is stored in the Repository, hence can be reused in various projects and Job flowcharts. Related topic: see Talend Studio User Guide.

XML Field

Select the XML field for the data to be written to the output file.

Choose rule module

Select from the list:

- Use latest deployment from Drools workbench: Always choose this option when you run the Job for the first time. The Job uses the latest deployment of the rule on the Drools repository. If the rule has been changed meanwhile, the Job results will be different.

- Use local rules: with this option, you execute the Job with the local rule you imported previously from the repository to the root folder of your studio, in /studio_path/Drools/<project_name>, that is the latest package we browse from the Drools workbench. This means, even if you have modified the rule and deployed it on the repository, the Job results will not be different.

Do not use this option when you run your Job for the first time.

Note: If the shared mode is enabled, the path to the Drools folder has changed to C:/Users/user-account/studio-path/Drools/<project_name>. For more information, see Enabling the shared mode for Talend Studio in your Talend Installation Guide.

The fields that follow will vary according to your choice.

Drools Workbench Connection

Select the Drools distribution from the Choose distribution list:
  • Redhat BRMS 6.2
  • JBoss BRMS 6.2
  • Redhat Decision Manager 7.3

You can also import Jobs that use a connection to the deprecated Talend BRMS with TAC authentication from previous versions of Talend Studio.

Drools Workbench URL

Enter the address of the business rule repository.

Username and Password

Enter the authentication information used to connect to the Drools Workbench of interest.

To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings.

Module list

Click the [...] button next to the field to open a list of the Jars on the Drools Workbench.

You can select Jar files from all branches, main and other branches. In Deploy Package, click the [...] button and select the Master artifacts or Custom artifact tab. To select a Jar file that is not from the latest version or the main branch, select the Custom artifact tab and enter the artifact ID, the group ID and the version. You can find these parameters in the Drools workbench.

Snapshot versions are not supported.

Maven Deployment Path

After you select the Jar file from the Drools Workbench, this field is automatically populated.

Class Name

After you select the Jar file, this field is automatically populated with the name of the class in which the business rule is stored in a Jar file.

Drools flow ID (optional)

A Drools flow describes the order in which a series of business rules are executed. Its flow ID is defined manually when you are creating the Drools flow.

When you need to call a specific Drools flow via tBRMS to use the execution order it defines, enter the corresponding flow ID in this field.

For more information about Drools flow, see the relevant Drools manuals.

Advanced Settings

Configure XML Tree

Click [...] to map the source schema to the XML output schema.

Group by

Use the tool bar to modify the column order.

Advanced separator

Select this check box to modify the separators used for numbers.

Encoding

Select the encoding type from the list or select Custom and define it manually. This field is compulsory for DB data handling.

tStatCatcher Statistics

Select this check box to collect the log data at the component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component handles data flows. Therefore it requires input and output components.

Limitation

When using the tBRMS component in subJobs with the same value in the Class name field, select the Use an independent process to run subJob check box in the tRunJob component settings to be able to run the Job correctly.

For further information about the tRunJob component, see tRunJob.

For further information about the tRunJob component, see the documentation on Talend Help Center (https://help.talend.com).