Syntax errors and warnings

concept australia Updated Sep 10, 2026 1 min read c_ScriptSyntaxErrorChecking.md
Raw file servicenow.com

All script fields provide controls for checking the syntax for errors and for locating the error easily when one occurs.

The syntax editor displays messages about errors or warnings in your scripts in the following situations:

  • Saving a new record or updating an existing record.

  • Selecting the syntax checking icon before saving or updating a record.

    [Omitted image "ScriptSyntaxError.png"] Alt text: Error message displays with the syntax editor and includes details about the issue and its location in the code.

You can configure whether to show indicators next to a line of code that contains an issue for errors, warnings, both, or none with the glide.ui.syntax_editor.show_warnings_errors system property.

Parent Topic:Using the JavaScript syntax editor

Search documentation
Search document titles and file paths on the australia branch