Skip to main content

Business rules usage in tRules

You can import business rules or create them from Talend Studio.

When you create business rules of DRL format from Talend Studio, the created file is a DRL rule template that partially conforms to the Drools syntax. For more information on how to create the business rules, see the Creating the DRL rule template procedure.

To use a DRL rule template in your Job, select Property Type > Repository. When the Job is running, a file that conforms to the Drools syntax is generated from the template. This file is used in the Job.

In Built-in mode, the file you browse must conform to the Drools syntax. You cannot browse the Studio repository folders to select a DRL rule template.

If you switch the Property Type setting from Repository to Built-in, adapt the DRL file to the Drools syntax.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!