Using the scheduled script execution feature, we can execute a server-side code on a recurring schedule. This is useful for many scenarios, such as updating multiple records, purging old records based on criteria, or parsing or validating large datasets.
As a part of our Travel Booking Application, we will create a scheduled script to automatically close booking requests, where the state is pending (-5) and the travel start date is past the current date. In essence, we will mark the state field as Closed Incomplete, which corresponds to the value of 4.
You can view, add, or remove choices for any drop-down field using Dictionary entry, Form Designer, or Update Choice List.
To define a new script that executes on a recurring schedule, use the following steps:
- Open Studio, select Server Development | Scheduled Script Execution as shown in the following...