IsGreaterThan
This Script is part of the Common Scripts Pack.#
Supported versions
Available on Cortex XSOAR, Cortex XSIAM, and Cortex XPANSE.
Checks if one number (float) is bigger than the other (float). Returns yes: if the first > second. Returns no: if first <= second. Returns an exception if one of the inputs is not a number.
Script Data#
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | Utility, Condition |
Inputs#
| Argument Name | Description |
|---|---|
| first | The first argument to compare. |
| second | The second argument to compare. |
Outputs#
| Path | Description | Type |
|---|---|---|
| yes | Returns yes if first > second. | Unknown |
| no | Returns no if first <= second. | Unknown |