Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operation

Description

Example returning TRUE

==

Checks if two values are equal. Returns true if they are, false otherwise.

B25__Title__c == 'test'"a string"

!=

Checks if two values are not equal. Returns true if they are not, false otherwise.

B25__Title__c != 'test'"a string"

>

Checks if the left value is greater than the right value. Returns true if it is, false otherwise.

B25__Capacity__c > 10

>=

Checks if the left value is greater than or equal to the right value. Returns true if it is, false otherwise.

B25__Capacity__c >= 10

<

Checks if the left value is less than the right value. Returns true if it is, false otherwise.

B25__Capacity__c < 10

<=

Checks if the left value is less than or equal to the right value. Returns true if it is, false otherwise.

B25__Capacity__c <= 10

CONTAINS

Checks if a text value contains a specified substring. Returns true if it does, false otherwise.

B25__Title__c CONTAINS CONtAINS "testa string"

STARTSWITH

Checks if a text value starts with the specified substring. For example Returns true if it does, false otherwise.

B25__Title__c STARTSWITH "test" would return true for a reservation titled “test reservation”.a string"

LIKE

Performs a pattern matching comparison between a text value and a specified pattern. Returns true if the pattern matches, false otherwise.

B25__Title__c LIKE "a string"

NOT

Negates the Boolean value of an expression. Returns true if the expression is false, false if it is true.

"a string" NOT "another string"

ISBLANK

Checks if a field or expression is blank (empty) or null. Returns true if it is blank, false otherwise. Example:

ISBLANK(B25__Title__c)

[index]

Array index operator. Returns the element at the specified index in a list (starting with zero). For example

matchingAvailabilities[0].B25__Unavailability__c would return true if the first matching availability is marked as an unavailability.

...