Int Condition¶
Evaluates a comparison between two integers and returns a boolean result. Supports equality, inequality, and standard relational operators. If an unknown operation is provided or an error occurs, the node safely returns False.

Usage¶
Use this node when you need to compare two integer values to drive logic in your workflow, such as branching, gating, or loop control. Typical scenarios include checking counters, thresholds, or iteration indices to determine the next step.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| a | True | INT | Left-hand integer operand for the comparison. Supports very large positive and negative values. | 5 |
| b | True | INT | Right-hand integer operand for the comparison. Supports very large positive and negative values. | 3 |
| operation | True | CHOICE | Comparison to perform between a and b. One of: ==, !=, <, >, <=, >=. | > |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| result | BOOLEAN | Boolean outcome of the selected comparison between a and b. | True |
Important Notes¶
- Input range for a and b supports very large integers (including negative values).
- Only the listed operations are supported; selecting an unknown operation yields False.
- On any internal error during evaluation, the node returns False to fail safely.
- The node belongs to the SALT/Logic/Conditions category and is suitable for driving conditional flows.
Troubleshooting¶
- If you always get False, verify the 'operation' is one of the supported options (==, !=, <, >, <=, >=).
- Ensure 'a' and 'b' are valid integers within the allowed range if values are coming from upstream nodes.
- If behavior is unexpected around boundaries, double-check the operator choice (e.g., <= vs <).