Skip to main content

Modifying the rule file manually to code the conditions you want to use to create a survivor

This scenario applies only to 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.

In a Job, the tRuleSurvivorship component generates a survivorship rule package based on the conditions you define in the Rule table in the component Basic settings view.

If you want the rule to survive records based on some more advanced criteria, you must manually code the conditions in the rule using the Drools language.

The Job in this scenario gives an example about how to modify the code in the rule generated by the component to use specific conditions to create a survivor. Later, you can use this survivor, for example, to create a master copy of data for MDM.

The components used in this Job are:

  • tFixedFlowInput: it provides the input data to be processed by this Job.

  • tRuleSurvivorship: it creates the survivor validation flow based on the conditions you code in the rule. This component selects the best-of-breed data that composes the single representation of each duplicate group.

  • tLogRow: it shows the result of the Job execution.

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 – please let us know!