Conditions allow you to define logic-based rules that control behavior or outcomes across the platform. In Blink, the Condition Builder provides a simple way to create these comparisons without writing any code. You can use it to define trigger logic for Event-Based Workflows, to filter data or configure conditional branches using if or if else actions. The builder supports logical operators like AND and OR, as well as a wide range of comparison types, helping you create precise, event-driven workflows.
The Condition Builder is used in several areas across Blink’s platform, including the following scenarios:
The following are illustrative examples intended to help you understand how the Condition Builder can be used across the Blink platform. Your actual configuration may vary depending on your specific use case and requirements.

Condition Operators

The following condition operators can be used to create a condition statement:
Note: The list of available condition operators will vary depending on the type of input or data you’re working with. For example, numeric fields may include operators like greater than or less than, while date/time fields support options like before, after, or is within the last. This ensures that only relevant operators are shown for each condition.

Equals

x = bThe condition is true when the left value is exactly equal to the right value.

Not Equals

x != yThe condition is true when the left value is not equal to the right value.

Less than

The condition is true when the left value is less than the right value.

Less Than or Equals To

The condition is true when the left value is less than or equal to the right value.

Greater Than

x > yThe condition is true when the left value is greater than the right value.

Greater Than or Equals To

x >= yThe condition is true when the left value is greater than or equal to the right value.

Contains

The condition is true when the left value contains the right valueExample- a substring in a string or an item in a list.

Not Contains

The condition is true when the left value does not contain the right value.

Starts With

The condition is true when the left value starts with the right value.

Ends With

The condition is true when the left value ends with the right value.

Regex Match

The condition is true when the left value matches the specified Regular Expression pattern.

Is Empty

The condition is true when the left value is empty or null.This includes empty strings, arrays, objects, or a null value.

Is Not Empty

The condition is true when the left value is not empty or null.This operator does not require a right-hand value.

Is True

The condition is true when the left value is true(boolean).This operator does not require a right-hand value.

Is False

The condition is true when the left value is false(boolean).This operator does not require a right-hand value.
Note: When using the contains or not contains operators in the condition builder, if the field type is a list, the condition checks whether a specific item is present or absent within that list.contains: Returns true if the specified value is found as an item within the list.not contains: Returns true if the specified value is not found as an item within the list.