LogoLogo
  • Docs
  • Connector Configuration
  • Knowledge Base
  • Changelog
  • Connector Configuration
  • ActiveCampaign
  • Airtable
  • Asana
  • AWS
    • AWS SNS
  • Azure Cognitive Services
  • Blackboard
  • CloudFlare
    • CloudFlare Lists
  • DeepAI
  • DocuSign
  • Dropbox
  • Facebook Business
  • Freshdesk
  • Google
  • Highrise
  • Hubspot
  • Imperva
  • Jira
  • Jotform
  • LinkedIn
  • Mailchimp
  • Microsoft
  • Microsoft Dynamics 365 CRM
  • Monday
  • Open AI
  • Pipedrive
  • Quickbooks
  • Redmine
  • Salesforce
  • Schoology
  • Screenshot API
  • ServiceNow
  • Shopify
  • Slack
  • Snowflake
  • Trello
  • Twilio
  • Twitter
  • Typeform
  • Utilities
    • AI
    • AppEvents
    • Controls
      • Condition
      • Counter
      • Digest
      • Each
      • Join
      • Join Each
      • On Start
      • Set Variable
      • Switch
    • Converters
      • Archive
      • CSV to HTML
      • CSV to JSON
      • CSV to XLSX
      • Data URI to File
      • HTML to CSV
      • HTML to JSON
      • HTML to XLSX
      • JSON to CSV
      • JSON to HTML
      • JSON to XLSX
      • XLSX to CSV
      • XLSX to HTML
      • XLSX to JSON
    • CSV
      • Add Column
      • Add Row
      • Add Rows
      • Create CSV
      • Delete Columns
      • Delete Rows
      • Export CSV
      • Get Cell
      • Get Row
      • Get Rows
      • Import CSV
      • Rename Column
      • Update Rows
    • Email
    • HTTP
      • Delete
      • Dynamic Webhook
      • GET
      • PATCH
      • POST
      • PUT
      • Response
      • Uptime
      • Webhook
    • Language
    • Tasks
      • Request Approval
      • Request Approval Email
    • Test
      • After All
      • Assert
      • Before All
      • Call Count
      • Join
      • Process E2E Results
      • Tick
    • Timers
      • Scheduler
      • Timer
      • Wait
    • Weather
    • XML
      • JSON to XML
      • Validate XML
      • XML to JSON
      • XPath
    • Storage
      • Clear
      • Find
      • Get
      • On Item Added
      • On Item Removed
      • On Item Updated
      • Remove
      • Save To File
      • Set
    • RSS
      • Get Feed
      • New Feed Item
    • FTP
      • Create Directory
      • Download File
      • Get File Info
      • New File
      • Remove Directory
      • List
      • Remove File
      • Rename File
      • Upload File
    • Forms
      • Form Action
      • Form Trigger
    • Filters
      • Contains
      • Equals
      • Greater Than
      • Identity
      • Is Not Empty
      • Less Than
      • Modulo
      • Not Equal
      • Range
    • Files
      • Archive File
      • Download File
      • Load File
      • Load File Lines
      • Remove File
      • Save File
  • Xero
  • Zendesk Chat
  • Zendesk Tickets
  • Zoho
Powered by GitBook
On this page
  • Overview
  • Usage
  • Notes

Was this helpful?

Export as PDF
  1. Utilities
  2. Filters

Range

Overview

The Range Filter Component checks whether a given input data falls within a specified range. If the condition is met, the message is passed through the inRange port; otherwise, it is routed to notInRange.

Usage

This component is used to validate whether a text, number, or date is within a predefined range, making it useful for conditional processing in workflows.

Properties

Property
Type
Description

sourceData

string

The data to be checked. Can be a number or date.

rangeMin

string

The minimum value of the range.

rangeMax

string

The maximum value of the range.

exclusiveMin

boolean

If true, the minimum value is excluded from the range.

exclusiveMax

boolean

If true, the maximum value is excluded from the range.

Input Ports

Port
Description

in

Accepts input data and the range values for comparison.

Output Ports

Port
Description

inRange

Emits the message if sourceData is within the specified range.

notInRange

Emits the message if sourceData is outside the specified range.

Processing Logic

  1. Receives Input Data:

    • Accepts a dataset (sourceData), minimum (rangeMin), and maximum (rangeMax) values.

  2. Checks for Range Inclusion:

    • If both values are numbers, compares them numerically.

    • If both values are dates, checks if sourceData falls within the given range.

    • If exclusiveMin or exclusiveMax is set to true, strict range checks are applied.

  3. Routes the Message:

    • If sourceData falls within the range, it is passed to the inRange port.

    • Otherwise, it is passed to the notInRange port.

Output Data Schema

Property
Type
Description

sourceData

string

The original data that was checked.

rangeMin

string

The minimum value of the range.

rangeMax

string

The maximum value of the range.

result

boolean

true if sourceData is within the range, otherwise false.

Notes

  • Supports Numeric & Date Comparisons: Compares numbers and dates effectively.

  • Configurable Exclusive Boundaries: Allows users to include or exclude boundary values.

  • Ideal for Conditional Filtering: Useful in workflows requiring validation of a value within a specific range.

This component is essential for workflows that need to filter or route messages based on whether a value falls within a predefined range.

PreviousNot EqualNextFiles

Last updated 3 months ago

Was this helpful?