GREATER_THAN_EQUAL
GREATER_THAN_EQUAL:
left: { arg1 } # required
right: { arg2 } # required
Description
The GREATER_THAN_EQUAL operation performs a numerical comparison to check if the left argument is greater than or equal to the right argument. It returns a Boolean value: true if left is greater than or equal to 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
leftargument.
Return Type
Examples
-
Checking if a number field is greater than or equal to a number constant:
GREATER_THAN_EQUAL:
left:
FIELD:
path: CA10__ruleCount__c
right:
NUMBER: 50This example checks if the value of the
CA10__ruleCount__cfield is greater than or equal to the number constant50. -
Using
GREATER_THAN_EQUALwithRELATED_LIST_COUNT:GREATER_THAN_EQUAL:
left:
RELATED_LIST_COUNT:
status: "COMPLIANT"
relationshipName: "CA10__AWS_EC2_Security_Group_Rules__r"
right:
NUMBER: 1This example checks if the related list has at least 1
COMPLIANTobject.
See more details in: