11. Anatomy of a Rule
100 : entity.name = ‘MovieRole’ => displayNameForEntity = “Movie Role” [Assignment]
Left Hand Side (LHS) Right Hand Side (RHS)
12. Your Job ( should you accept it...
)
this hard drive will self destruct in...
• Determine what LHS condition will identify the point in your app
that you want the behaviour to change.
• Identify what RHS key controls that behaviour
• Identify what value the RHS key needs to be need to be set to.
13. Why a priority of a million may
not be a good idea
• Establish priority guidelines
• Stray from those guidelines at your peril
• Arbitrarily high priorities, probably mean you are doing it wrong
14. Common Rule Problems
• Typos
• Conflicting LHS qualifier with rules higher up the hierarchy
• Incorrect or non-existent keys
15. Rule Keys and Values
• Components
• The d2wContext
• Assignment objects
• Other rules
27. Page Configurations
• A shortcut to identify a task and entity combination
• Naming convetion: TaskModifierEntity
• Are easier to read and remember
• Are more flexible
• Can reduce the number of rules required