Comparison component is used to compare data coming from triggers and continue execution only when a given condition is satisfied. Data can be compared either to static values, coming from constants, or to dynamic data taken from other assets. Actions that are executed are enveloped inside the comparison component, in its YES
and NO
areas - Yes, for actions that should be executed when the condition is satisfied, and No when its not. Any action component can be dragged into these areas.
Once the threshold such as Temperature > 23 is reached, actions contained in YES
area will be executed once. Only after the temperature falls below 23, and passes the threshold again, the actions be executed once again. Same execution logic goes for actions contained in NO
.
a
is “less than” b
. For booleans, it does not make much sense to have anything other than equality, so operators are replaced with “is”.Compared values
View docs will always get you to this page.
ACTIONS
area you know from before. The difference is that the actions won’t be executed every time the rule is triggered, but only when the condition in comparison is reached.