4 min readUpdated Mar 2, 2026

LogicalTriggerNodeEditor Documentation

Purpose

The LogicalTriggerNodeEditor is a feature designed to facilitate the creation and management of logical conditions within a workflow in the Vantage analytics and data platform. This component allows users to define conditions that will determine whether data passes through based on specified criteria (e.g., equality, greater than, etc.) and controls how these conditions are logically evaluated (using AND/OR logic).

Settings

Logic Mode

  1. Setting Name: logicMode
  2. Input Type: Dropdown (select)
  3. Functionality:
    • This setting controls how conditions are evaluated.
    • Options:
      • "all": All defined conditions must be met for data to pass.
      • "any": At least one condition must be met for data to pass.
    • Effect: Changing this affects the logical behavior of the component; if set to "all," all conditions must match, whereas if set to "any," only one needs to match.
  4. Default Value: "all"

Pass Mode

  1. Setting Name: passMode
  2. Input Type: Dropdown (select)
  3. Functionality:
    • This setting specifies the mode of data passing through based on conditions.
    • Options:
      • "filter_rows": Only rows that match the defined conditions will pass through.
      • "gate_all": If any row matches any condition, all rows are passed through; otherwise, nothing is passed.
    • Effect: Influences the dataset that is output based on the conditions; it alters whether only matching rows are outputted or if all rows are outputted based on one condition match.
  4. Default Value: "filter_rows"

Conditions

  1. Setting Name: conditions
  2. Input Type: Array of condition objects
  3. Functionality:
    • This setting holds an array of conditions. Each condition contains three properties: field, operator, and value.
    • Each condition can be manipulated (added, removed, updated) to build complex logical criteria.
  4. Default Value: [] (empty array)

Condition Properties:

How It Works

  1. Fetching Upstream Columns: Upon component initialization, the editor fetches upstream column data from connected nodes, allowing users to select fields for conditions.
  2. Dynamic UI: Users can add or remove conditions dynamically. Each condition can be modified with desired field, operator, and value settings in a user-friendly interface.
  3. Conditions Validation: The logical relationship is formed by conditions that utilize selected operators to compare field values according to the defined logic mode (all/any).
  4. Real-time Updates: using state management, changes made to conditions or settings are reflected in real time without requiring page reloads, ensuring a smooth user experience.

Data Expectations

The LogicalTriggerNodeEditor expects:

Use Cases & Examples

Use Case 1: Filtering Sales Data

In a sales reporting workflow, users may want to filter rows where the sales_amount is greater than 100 and the region is North.

Use Case 2: Validating User Submissions

A workflow could be configured to ensure that any submitted forms must contain a username and the email must match a valid format using regex conditions.

Detailed Example Configuration

Use Case: Filtering Customer Feedback

json
{
  "logicMode": "all",
  "passMode": "filter_rows",
  "conditions": [
    {
      "field": "feedback",
      "operator": "contains",
      "value": "good"
    },
    {
      "field": "country",
      "operator": "equals",
      "value": "USA"
    }
  ]
}

Explanation:

  1. logicMode is set to all, meaning both conditions must be met.
  2. passMode is set to filter_rows, allowing only the entries where feedback contains "good" and are from users in the USA to pass through.
  3. The conditions are built with fields feedback and country, using the contains and equals operators, respectively.

This configuration would effectively filter the data stream, allowing only those entries that indicate positive feedback from the USA region to be processed further in the workflow.