Skip to Content
DocumentationValidation ChecksCustom Rule Validation

Custom Rule Validation

When configured, custom rule validation checks allow you to define your own boolean validation logic to determine whether a row should be loaded to your destination.

Example

Custom Rule: (fico >= 350 AND fico <= 850) OR fico = 9001 OR fico = 9002 OR fico = 9003 OR fico = 9999

ficocredit_limit
5002500
72010000
90010
90020
2001500
90030
99990
90025000

Available Operators

Different operators are available based on the data type of the column being evaluated. The following table shows which operators are available for each Etleap data type:

Data TypeEqualNot EqualInNot InGreater ThanGreater Than or EqualLess ThanLess Than or EqualIs TrueIs False
BOOLEAN
DATETIME
DATE
INTEGER
JSON
NUMBER
STRING

Configuration

Screenshot of Custom Rule Configuration

Key Considerations

  • Conditions can be organized into groups, each with independent AND/OR logic, combined under a single top-level operator.
  • Only one layer of grouping is allowed (i.e. groups cannot be nested within other groups).
  • Custom rules may reference multiple columns in the same row.
  • When a row fails the custom rule check, it will throw an error based off of the output column the rule is associated with.