GREATER_THAN
GREATER_THAN:
left: { arg1 } # required
right: { arg2 } # required
Description
The GREATER_THAN
operation performs a numerical comparison to check if the left
argument is strictly greater than the right
argument. It returns a Boolean
value: true
if left
is greater than right
, and false
otherwise.
Both arguments must be of Number
type.
Parameters
-
left
(Operation<Number
>, required): -
right
(Operation<Number
>, required):- Specifies the second argument for comparison.
- Must be of the same type as the
left
argument.
Return Type
Examples
-
Checking if a number field is greater than a number constant:
GREATER_THAN:
left:
FIELD:
path: CA10__instanceCount__c
right:
NUMBER: 5This example checks if the value of the
CA10__instanceCount__c
field is greater than the number constant5
. -
Using
GREATER_THAN
withSIZE
:GREATER_THAN:
left:
SIZE:
arg:
SET_FROM:
arg:
FIELD:
path: CA10__availabilityZones__c
separator: "\n"
right:
NUMBER: 1This example checks if the size of the collection created from the
CA10__availabilityZones__c
field is greater than1
.
See more details in: