Pre-process rulesintegration pre process rules
Pre-process rules are applied to the records that are already mapped. You can create pre-process rules when you want to tag records, add alias to the records, or send the records to quarantine. The difference between property rules and pre-process rules is that property rules are applied only to property values of the record while pre-process rules are applied to the whole record. So, if you want to apply some changes to multiple records, create a pre-process rule.
Pre-process rules are applied to the records during processing after the property rules have been already applied.
All pre-process rules are listed on the Pre-process rules tab of the data set.
To access pre-process rules, go to Administration > Feature Flags and make sure that the following features are enabled:
Data Set Pre-Process Rules
Data Set Quarantine
To create a pre-process rule
On the navigation pane, go to Integrations > Data Sources. Then, find and open the data set.
Go to the Pre-process rules tab, and then select Add pre-process rule.
Enter the Display name of the rule.
In the Filter section, select whether you want to apply the rule to all records or to specific records.
If you want to apply the rule to specific records:
Select a condition to determine which records will be affected by the rule.
Depending on what you selected in the previous step, specify the entity property or the vocabulary key that will be affected by the rule.
Select whether you want to apply the rule when the condition is met or when the condition is not met.
The following screenshot demonstrates that all records that do not contain the job title will be sent to the quarantine.
Note: You can add only one filter to the rule. For example, if you want to quarantine all records that, in addition to the job title, do not contain the email address and the phone number, you need to create separate rules for each vocabulary key.
Select the Action that will be applied to the records.
In the lower-right corner, select Add rule.
The rule is added to the table on the Pre-process rules tab. You can edit or delete the rule, if needed. The rule will be applied after you process the records.