The following steps show you how to create a business rule:
- In Studio, open the Create New Application File wizard, select Server Development | Business Rule, and click on the Create button to open the new Business Rule record form.
- Populate the form with the following values:
- Name: Monitor changes to assigned to field
- Table: Booking Request
- Active: Checked
- Advanced: Checked
- When: before
- Order: 200
- Insert: Unchecked
- Update: Checked
- Filter conditions:
- Assigned to | changes
- Assigned to | is not empty
- Navigate to Advanced tab | Script:
- Write the following code in the Script field:
(function ...