5 min readUpdated Mar 2, 2026

Compliance Check Logic Documentation

Overview

The Compliance Check logic component in Vantage is designed to perform rule-based checks on datasets. Each row of data is evaluated against a set of configured compliance rules, and the logic routes the data accordingly. Rows that fail any of the specified compliance rules are sent to the "fail" output port, while those that pass all checks are sent to the "pass" output port. This component is essential for maintaining data integrity and compliance with business standards.

Settings

The Compliance Check component is configurable through several settings, each of which plays a crucial role in its operation. Below are the details for each setting:

Rules

  1. Name: rules
  2. Input Type: Array of Objects
  3. Description: An array of rule objects, where each object defines a compliance rule to be applied to the rows of data. Each rule includes the target column, the operator to evaluate against, the expected value, and a label for easier interpretation of compliance outcomes. The component evaluates each row against all the defined rules.
  4. Default Value: An empty array ([]). If no rules are specified, all rows are considered to have passed.

Fail Mode

  1. Name: failMode
  2. Input Type: String
  3. Description: Specifies the condition under which a row is considered to have failed compliance checks. The current options include:
    • "any": The row will fail if it does not meet any one of the defined rules. This is the default behavior.
    • Additional modes can be added as needed for more complex compliance requirements.
  4. Default Value: "any". This means if a row fails any rule, it will be routed to the "fail" port.

Rule Structure

Each rule in the rules array contains the following attributes:

How It Works

  1. Data Input: The component expects an input dataset that is an array of objects. Each object represents a row of data.
  2. Unwrapping Data: The provided data is unwrapped using the unwrapData function to ensure it is in the correct format.
  3. Rule Evaluation: For each row in the data, it iterates over the configured rules and evaluates each rule against the specified column's value using the evaluateCondition function.
  4. Routing Results: Based on the evaluation:
    • If a row passes all rules, it is added to the pass output.
    • If a row fails any rule, it is recorded in the fail port, accompanied by compliance notes detailing the reasons for failure.
  5. Logging: The component logs the processing result, indicating the counts of passed and failed rows.

Data Expectations

Use Cases & Examples

Use Case 1: Email Validation

Use Case 2: Age Verification

Detailed Example: Combined Validation

In this configuration, if an applicant does not supply an email or is under 18, they will be routed to the "fail" output with detailed compliance notes.

AI Integrations & Billing Impacts

The Compliance Check component may be integrated with AI tools to enhance rule evaluation, for example, through the use of machine learning to predict potential violations based on historical data trends. However, the specific integrations and additional overhead should be evaluated separately based on organizational needs.

Regarding billing impacts, since this component processes data through predefined rules, it may incur costs based on usage metrics, such as the volume of data processed or the complexity of the compliance checks. It is advisable to consult the Vantage pricing structure to understand the financial implications of using the Compliance Check component in production.