Salesforce admins: Urgent action required!

Rules editor: Difference between revisions

Jump to navigation Jump to search
Line 264: Line 264:
<small>Text = String, Memo <br>
<small>Text = String, Memo <br>
Number = Integer, Float, Decimal, Number</small>
Number = Integer, Float, Decimal, Number</small>
=== Arguments ===
After selecting the variable and the operation, you usually have to select one or more arguments. Some operations don't have arguments, for example Clear. Some operations have multiple arguments, for example Concat.
An argument can be either a constant value or a variable.
* Click the xy button to switch to variable.
* Click the π (pi) button to switch to a constant.


== Building a condition ==
== Building a condition ==


Similar to function steps, conditions also often have three parts: variable, operator, and argument(s).
Similar to function steps, conditions also often have three parts: variable, operator, and argument(s).
=== Variables ===


The variables in conditions mostly overlap with variables in function steps. Some additional variables exist:
The variables in conditions mostly overlap with variables in function steps. Some additional variables exist:
Line 274: Line 284:
; Relationship
; Relationship
; ChangedItem: In Cell Click and Button Click rules, this is the name of the clicked item.
; ChangedItem: In Cell Click and Button Click rules, this is the name of the clicked item.
:{| class="wikitable"
| ChangedItem || Equals || Call
|}
=== Operations ===
The operators in conditions are quite different from operators in functions.
{| class="wikitable sortable mw-datatable"
|-
! Function name || Description
|-
| ContainsData ||
|-
| Does Not ContainData ||
|-
| Equals ||
|-
| Does Not Equal ||
|-
| Contains ||
|-
| Does Not Contain ||
|-
| StartsWith ||
|-
| Does Not StartWith ||
|-
| EndsWith ||
|-
| Does Not EndWith ||
|-
| MatchesRegex ||
|-
| Does Not MatchRegex ||
|-
| Is Less Than or Equal To ||
|-
| Is Less Than ||
|-
| Is Greater Than or Equal To ||
|-
| Is Greater Than ||
|}


[[Category:Woodford]]
[[Category:Woodford]]

Navigation menu