Not Equal
Overview
The Not Equal Filter Component checks whether a given input data is not equal to a specified value. If the condition is met, the message is passed through the notEquals port; otherwise, it is routed to equals.
Usage
This component is used to validate if a text, number, or date is different from a predefined value, making it useful for conditional processing in workflows.
Properties
sourceData
string
The data to be compared. Can be a string, number, or date.
value
string
The value to compare against sourceData.
Input Ports
in
Accepts input data and the value to compare against.
Output Ports
notEquals
Emits the message if sourceData is not equal to value.
equals
Emits the message if sourceData is equal to value.
Processing Logic
Receives Input Data:
Accepts a dataset (
sourceData) and a comparison value (value).
Checks for Non-Equality:
Performs a comparison (
sourceData != value).
Routes the Message:
If
sourceDatais not equal tovalue, the message is passed to thenotEqualsport.If
sourceDatais equal tovalue, it is passed to theequalsport.
Output Data Schema
sourceData
string
The original data that was checked.
value
string
The value compared against sourceData.
result
boolean
true if sourceData is not equal to value, otherwise false.
Notes
Strict Comparison: Ensures only different values pass through.
Supports Various Data Types: Works with text, numbers, and dates.
Ideal for Conditional Filtering: Useful in workflows requiring validation that two values are not the same.
This component is essential for workflows that need to filter or route messages based on whether a value differs from a predefined value.
Last updated
Was this helpful?
