About the rule workbench

Note This feature is only available for Pushdown jobs.

Custom rules are monitors that consist of user-defined or AI-suggested SQL queries. They help data quality managers verify whether data adheres to the business requirements of their organization. Data quality managers can use the rule workbench to write, validate, and apply custom SQL rules to existing Data Quality Jobs. This provides insights on the job details page, allowing you to monitor the health of critical data in your organization.

From the rule workbench, you can:

Rule monitoring strategies

Data quality monitoring works best when you combine automatic anomaly detection with specific business validation:

Rule use case

Consider a scenario where a healthcare organization needs to ensure the accuracy of their patient records. Business requirements state that no patient over the age of 18 should be categorized as a "pediatric" patient.

To automate this check, a data quality manager uses the rule workbench to write a custom SQL query. The query selects any records that violate this logic. This includes rows where the age is greater than 18, but the patient is still listed as pediatric.

SELECT * FROM @ALDER_PRACTICE_PATIENTS WHERE PEDIATRIC = 'Y' AND DATE('2025-01-01') - BIRTHDATE > 18 * 365

If the job runs and finds records that match this query, the rule status changes to breaking. This notifies the data steward or other downstream users to investigate the specific rows that contain the invalid data.

Note For hands-on training related to this scenario, check out the Data Quality rules: They're meant to be broken course in Collibra University.

Overview of the rule workbench user interface

The following image and sections describe the key functional areas of the rule workbench, grouped by their primary purpose.

screenshot of rule workbench

Rule setup and management

This section contains the fundamental configuration details and settings required to establish your custom rule.

SQL definition and validation

This section contains the tools and reference information necessary to write, filter, and validate your custom query.

Rule testing and preview

This section allows you to test your rule against a sample of your data to ensure accuracy before executing it against your entire job.

What's next