JavaScript that runs when:
-A record is displayed, inserted, updated, or deleted
-A table is queried
Business Rule
Execute server-side
-Faster
-Does not monitor forms or lists
Business Rule
Use the condition builder to determine when the business rule should run based on the field values in the selected Table.
Filter Conditions
Select the roles that users who are modifying records in the table must have for this business rule to run.
Role Conditions
Execute before a query is sent to the database
Before Query
Execute after the data is read from the database and before the form is presented to the user
Display
What is the Client Script that is always partnered with Display?
onLoad()
This is the global object to be populated by the Display Business Rule.
g_scratchpad
Execute after form submission and before record is updated in the database
Before
Execute after form submission and after the record update in the database
Waits for the operation to finish before it does other processes
After
Execute after records are inserted/modified/queried
Async
T or F: Use Async Business Rules whenever possible
True
What is the Business Rule to pass data from the server-side to the client-side during a form load using the g_scratchpad method?
Display
Where should condition statements be written so unnecessary scripts do not run?
Condition Field.
T or F: Always use current.update() in your scripts.
False. Never use current.update()