Logic

Compare

Checks two values against each other (equal, not equal, greater, less) and answers true or false. It is the standard first half of a threshold rule: Compare decides whether the condition holds, and an If node decides what to do about it.

Inputs

InputAcceptsRequired
AAnyYes
BAnyYes
OperatorTextOptional

Outputs

OutputProduces
ResultYes/No

Settings

Typed in on the node or set by the assistant, not wired.

SettingDefaultNotes
Operator==One of ==, !=, >, <, >=, <=. Values that are both numbers compare numerically; anything else compares as text.

Example

To flag whether the quarter beat plan, connect total revenue (an Aggregate over Bookings.Amount) to A, a Constant of 5000000 to B, and set the operator to >=. The true/false result feeds an If node that outputs "Ahead of plan" or "Behind plan" for a summary card.

Related nodes