DRAGOPS
DRAGOPS
DocumentationNode libraryLogical

Logical

Boolean logic nodes — AND, OR, NOT, Select, and Coalesce.

Logical nodes perform boolean operations and conditional value selection. Use them to combine comparison results, invert conditions, or choose between values based on a condition.

All Logical nodes are pure (blue header, no execution pins).


And

Logical AND. Returns true only if both inputs are true.

PinDirectionTypeDescription
AInputBooleanFirst condition
BInputBooleanSecond condition
ResultOutputBooleanTrue if both A and B are true

Pure. Use And to require multiple conditions — an IP is blocklisted AND the request count exceeds a threshold.


Or

Logical OR. Returns true if at least one input is true.

PinDirectionTypeDescription
AInputBooleanFirst condition
BInputBooleanSecond condition
ResultOutputBooleanTrue if A or B (or both) are true

Pure. Use Or to match any of several conditions — the alert is critical OR the CPU exceeds 90%.


Not

Logical NOT. Inverts a boolean value.

PinDirectionTypeDescription
ValueInputBooleanThe condition to invert
ResultOutputBooleanOpposite of Value

Pure. Use Not to invert a check — proceed only if a value is NOT null, or if a string does NOT contain a pattern.


Select

Choose between two values based on a boolean condition. Works like a ternary operator.

PinDirectionTypeDescription
ConditionInputBooleanThe condition to evaluate
If TrueInputAnyValue returned when condition is true
If FalseInputAnyValue returned when condition is false
ResultOutputAnyThe selected value

Pure. Use Select to pick between two values inline without branching — choose "block" or "allow" based on a reputation check.


Coalesce

Return the first non-null value. If A is null, return B.

PinDirectionTypeDescription
AInputAnyPrimary value
BInputAnyFallback value
ResultOutputAnyA if non-null, otherwise B

Pure. Use Coalesce to provide default values — use the user-provided name, or fall back to "Unknown" if it is null.


  • Comparison — produce boolean values to feed into logical operations
  • Flow Control — use combined boolean results with Branch and Filter Guard
  • Variables — store logical results for later use

On this page