Salesforce admins: Urgent action required!

Rules editor: Difference between revisions

Jump to navigation Jump to search
Line 124: Line 124:
; Export XML, Import XML: Rules can be exported and reused in a different location in the project or in a different project.
; Export XML, Import XML: Rules can be exported and reused in a different location in the project or in a different project.


== Building a step ==
== Building a function step ==


Each rule consists of steps. Every type of step can be described as an expression with usually three parts (from left to right):
Each rule consists of steps. Every type of step can be described as an expression with usually three parts (from left to right):
Line 133: Line 133:
Click '''Step''' on the toolbar to add an empty step to your rule.
Click '''Step''' on the toolbar to add an empty step to your rule.


=== Variables ===
=== Form variables ===


Click '''Pick Value''' and select the variable that you want to modify in this step from a drop down list. Some of the available variables are listed below, exact list depends on the rule.
Click '''Pick Value''' and select the variable that you want to modify in this step from a drop down list. Some of the available variables are listed below, exact list depends on the rule.
Line 167: Line 167:
|}
|}


==== Row Script custom variables ====
; CommandsVisibleForNew:
 
; FormName:
 
; Commands:
 
=== Row Script variables ===


; TemplateIndex: Used to assign different row designs to various rows
; TemplateIndex: Used to assign different row designs to various rows
Line 179: Line 185:
|}
|}


==== Cell Click, Button Click custom variables ====
=== Cell Click, Button Click variables ===


; Handled: If false (default) the standard behavior is executed after the rule. If True, it is skipped.
; Handled: If false (default) the standard behavior is executed after the rule. If True, it is skipped.
Line 185: Line 191:
| Handled || Assign || False
| Handled || Assign || False
|}
|}
; DirectEdit: Controls how the changes to the entity are handled (if there are any).
:* True and the entity is dirty after the rule executes, the entity is saved to storage (OnSave rule is run).
:* False, if a property is changed the ChangeRule is run and the entity is added to the list of dirty entities to be saved on user command.
:* Null (not-set, default), changes are ignored.


=== Operations ===
=== Operations ===
Line 254: Line 265:
Number = Integer, Float, Decimal, Number</small>
Number = Integer, Float, Decimal, Number</small>


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


The variables in conditions mostly overlap with variables in function steps. Some additional variables exist:


; Configuration
; Relationship
; ChangedItem: In Cell Click and Button Click rules, this is the name of the clicked item.


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

Navigation menu