Docs
On this page
task1 min readApplication: Platform

Run a server script

Run a one-off server script from Administrator tools to test logic, fix data in bulk or check records, and read its log output.

Run a server script for one-off server logic, such as testing a trigger, fixing records in bulk, checking a set of records or trying an integration call. Administrators and developers use it with the same syntax as triggers and script libraries.

Before you begin

  • You need the administrator role.
  • A server script changes live data. Try a bulk change on a test instance first.
  • Have the script ready. The objects it can use are in Table and DateTime.

Steps

  1. In the Admin Console, select Administration → Administrator tools → Server script.

    The Administrator tools menu with Server script.
  2. Enter the script in the Server script execution box.

  3. Right-click in the box and select Execute.

    The Execute menu item in the Server script execution box.
  4. Read the output at the bottom of the box. Anything the script writes with log appears there.

    Log output shown below the script.

Result

The script has run once on the server, and its log output is shown below it. Any records it created, updated or deleted are changed straight away, and their triggers ran unless the script turned them off.

A script that writes each incident in New status to the log.
Last updated 18 October 2026commit f37120b6b82bChris Jones
Back to top