Value range
- Last UpdatedFeb 21, 2025
- 1 minute read
This example shows a Condition formula that checks whether a reading is within a specified range; if not, it then triggers its child Action(s).
In this case, the Condition’s formula references a Task with the Tag "SUCTPRESS" (for suction pressure). If the reading is not within the range of 125 and 375 (inclusive), the calculation evaluates TRUE, and the child Action (a Message) fires.
The simplest implementation of this example resembles the structure example above (see Previous values (Delta)).
The Condition is configured with the following formula:
((@GETVALUE(SUCTPRESS,&NULL))>375)OR((@GETVALUE(SUCTPRESS,&NULL))<125)
Tip: If the range should be evaluated separately (e.g. to trigger two different actions based on whether the reading is "too high" or "too low") create two separate Conditions, one evaluating "greater than" and one evaluating "less than."
Once validated (see Formula validation), the Condition interprets its formula in a more user-readable form, as shown below.
