---
title: "System configuration scripts"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/automation/system-configuration-scripts/
type: reference
application: platform
last_updated: 2026-10-18
commit: 3ba12c8f0745
---


A system configuration script runs a server script at a point in the life of an instance, such as each time a node starts. This page lists its fields and types for administrators with the `administrator` role. Earlier versions of this documentation called them provisioning scripts.

System configuration scripts are under **Administration → Business Logic → System configuration scripts**.

## System configuration script fields

| Field | Type | Behaviour | Purpose |
| --- | --- | --- | --- |
| Name | Text | Required. | Identifies the script. |
| Description | Text | | Says what the script does. |
| Active | Yes or no | Default yes. | Only active scripts run. |
| Type | Choice | Required. Values are in the next table. | When the script runs. |
| Order | Number | Required. Lower numbers run first. | Orders scripts of the same type. |
| Run on triggers | List | Optional. Application upgrade, Instance clone, or both. | Limits a Node startup script to startups that follow those events. |
| Script | Script | Required. Runs on the server as the system. | The logic to run. |

## Type values

<!-- source: platform/data/AvailableValue?Table=SystemConfigurationScript&Field=Type -->

| Type | Runs | Use it to |
| --- | --- | --- |
| Installation | Once, when the platform is first installed on a new deployment. | Set initial instance properties. |
| Node startup | Each time a node starts. With **Run on triggers** set, only on startups that follow an application upgrade or an instance clone. | Check properties, raise events or adjust data after a clone. |
| Application data | Each time application data is prepared for a signed-in user's browser. | Change the application data before it is sent to the client. |

A script that fails is logged and the next script still runs.

## Shipped scripts

| Script | Type | What it does |
| --- | --- | --- |
| Set initial BaseURL System Property | Node startup | Creates or updates the `system.baseurl` property. Edit it when the instance is served at a different URL. |
| After clone record update | Node startup, Instance clone | Disables email jobs, deletes global search sync states and resets the job scheduler on a non-production copy. |
| Validate import temporary tables | Installation | Clears references from import tables to temporary tables that no longer exist. |

The base URL script is the one to change when you put the instance behind a reverse proxy. The full example is in [Serve Servicely behind a reverse proxy](page:environments/reverse-proxy).

## Related

- [Where scripts run](page:automation/scripting-overview)
- [Serve Servicely behind a reverse proxy](page:environments/reverse-proxy)
- [Instance cloning](page:environments/instance-cloning)
- [Run a server script](page:automation/run-a-server-script)
