Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Useful scripts

Server-side and client scripts that provide useful functionality not included in the core system.

  • Business rule use cases
    Use cases for business rules include aborting a database action and restricting record access.
  • Client-side script use cases
    Use cases for client-side scripts include displaying field messages, changing form colors, adding fields, and creating UI routing actions.
  • Field script use cases
    Common use cases for field customization scripts.
  • Scheduling script use cases
    A business rule script specifies the actions that the business rule takes. Scripts commonly include predefined global variables to reference items in your system, such as the current record. Global variables are available to all business rules.
  • Server-side script use cases
    Use cases for server-side scripts include logging output, getting user objects, and modifying date/time values.
  • Validation script use case - Date and time
    To validate the input of all date/time fields, you can use the following in a validation script (System Definition > Validation Scripts).

Parent Topic:Scripting