September 2017
Intermediate to advanced
408 pages
9h 25m
English
As we are already aware, business rules can be triggered before, after, or asynchronously with database operations such as insert, update, delete, or query. One of the most important things we need to bear in mind when we create advanced business rules with scripts is that we should avoid creating an endless loop of business rule execution.
In the previous example, we made a business rule that was triggered when a record was inserted into a table, and we also performed a GlideRecord query operation from within the business rule. The table on which we applied the business rule and performed the GlideRecord operation is the same-Booking Request.
While our code worked successfully, we should usually ...
Read now
Unlock full access