---
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


---

# Create a macro

# Create or modify a script macro {#ariaid-title1}

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

Administrators can define new script macros or modify existing script
macros.

## Vorbereitungen

Role required: admin

## Warum und wann dieser Vorgang ausgeführt wird

Script macros provide shortcuts for typing commonly used code. Several script macros
are available by default. Administrators can define new or modify existing script
macros.

## Prozedur

1. Navigate to AllSystem DefinitionSyntax Editor Macros.
2. Click New or select the macro to edit.
3. Define the macro details with the fields listed in the table below.  
   {#t_ManageScriptMacros__table_nlh_2mg_ts__entry__2}

   | Field | Description |
   |-|-|
   | Name | Macro keyword text users type to insert macro text. |
   | Comments | Description of the macro. This text appears when the user types help. |
   | Text | Full macro text that replaces the name in the editor. |
   [Tabelle : 1. Editor macro fields]

   {#t_ManageScriptMacros__table_nlh_2mg_ts}

