---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Sandbox

# Script sandbox {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The script sandbox is an environment with restricted rights in which client-generated scripts run when they're made available to the script sandbox.
The script sandbox helps prevent unauthorized or unauthenticated users from executing privileged script on your instance. There are two cases that allow the client to send scripts to the server for evaluation (client-generated
scripts).  
* Filters or queries: It's legal to send a filter to the server such as: `assigned_to=javascript:getMyGroups()`.
* System API: The API call AJAXEvaluate allows the client to run arbitrary scripts on the server and receive a response.  
The script being evaluated via either of these two entry points runs within a reduced-rights sandbox with the following characteristics:

* Only those business rules marked Client callable are available within the sandbox.
* Only script includes marked Sandbox enabled are available within the sandbox.
* Certain API calls (largely but not entirely limited to ones dealing with direct database access) aren't allowed.
* Data can't be inserted, updated, or deleted from within the sandbox. Any calls to current.update(), for example, are ignored.
{#script-sandbox__ul_ncg_skn_g1c}  
Hinweis:  
Beginning with the Xanadu release, script includes marked as Glide AJAX enabled (previously named Client callable) aren't accessible within the sandbox. Only those marked Sandbox enabled are available within the sandbox. When upgrading to the Australia release from the Washington DC release or earlier, any script includes marked as Client callable are also marked as Sandbox enabled.

## Restricted methods with the script sandbox {#script-sandbox__section_ih5_4f4_52c}

These methods aren't supported in client-generated scripts in the script sandbox.  
Hinweis:  
The GlideSystem (gs) methods log(), logError(), and logWarning() can be enabled with script sandboxing by setting the glide.security.sandbox_no_logging system property to <kbd class="ph userinput">false</kbd>.
{#script-sandbox__table_ntx_d3s_mcb__entry__2}

| Class | Method |
|-|-|
| GlideRecord | * deleteMultiple() * deleteRecord() * getRowCount() * insert() * update() * updateMultiple() {#script-sandbox__ul_odw_qdn_g1c} |
| GlideSystem (gs) | * addErrorMessage() * addInfoMessage() * addMessage() * eventQueue() * flushMessages() * getEscapedProperty() * getProperty() * log() * logError() * logWarning() * setProperty() * setRedirect() * setReturn() * workflowFlush() {#script-sandbox__ul_yyy_pf4_52c} |
| ScopedGlideRecord | * deleteMultiple() * deleteRecord() * insert() * update() * updateMultiple() {#script-sandbox__ul_g4n_p2n_g1c} |
| ScopedGlideSystem (gs) | * addErrorMessage() * addInfoMessage() * debug() * eventQueue() * executeNow() * getProperty() * getSessionToken() * info() * setRedirect() {#script-sandbox__ul_zyy_pf4_52c} |
| GlideDate GlideDateTime GlideTime | * add() * addDays() * addDaysLocalTime() * addDaysUTC() * addMonthsLocalTime() * addMonths() * addSeconds() * addWeeks() * addYears() * compareTo() * getByFormat() * getDate() * getDayOfWeek() * getDayOfWeekUTC * getDayOfWeekLocalTime() * getDayOfMonth() * getDayOfMonthLocalTime() * getDayOfMonthNoTZ() * getDayOfWeek() * getDayOfWeekLocalTime() * getDayOfWeekUTC() * getHourOfDayLocalTime() * getHourOfDayUTC() * getDaysInMonth() * getDaysInMonthUTC() * getDaysInMonthLocalTime() * getDisplayValueInternal() * getDisplayValue() * getHourLocalTime() * getLocalDate() * getLocalTime() * getMinutesLocalTime() * getMinutesUTC() * getMonthLocalTime() * getMonthNoTZ() * getMonthUTC() * getNumericValue() * getSeconds() * getTime() * getTZOffset() * getValue() * getYear() * getUserTimeZone() * getWeekOfYearLocalTime() * getWeekOfYearUTC() * getYearUTC() * getYearLocalTime() * isDST() * onOrAfter() * onOrBefore() * setDayOfMonthUTC() * setDisplayValue() * setMonth() * setNumericValue() * setTZ() * setValue() * setValueUTC() * subtract() * toString() {#script-sandbox__ul_azy_pf4_52c} |
| GlideSchedule | * add() * isInSchedule() * Load() * whenNext() {#script-sandbox__ul_bzy_pf4_52c} |
[Tabelle : 1. Restricted methods]

{#script-sandbox__table_ntx_d3s_mcb}

