OBLYTECH Logo
OBLYTECH Logo

ServiceNow Application Record Fields and What Each Controls

The ServiceNow application record holds an app’s name, version, scope and access settings. Version helps the repository and Store identify available updates; scope identifies the application namespace and is read only after creation. Other fields control JavaScript mode, menus, application roles, dependencies, cross-scope requests and subscription tracking.

What the application record holds

The platform creates the record during application creation and keeps the current configuration of the app in it. Developers use it to change the name and version, view the scope, enable scoped administration, manage design and runtime access, and view the application files.

Renaming changes the label shown for the app. It leaves values derived from the original name, including Scope, Menu and User role, unchanged. Review those fields separately when checking an application rename.

  • Name: The required label for the application.
  • Version: The value the repository and the Store use to decide whether updates are available.
  • Scope: The unique namespace set at creation. Read only on the form.
  • Application administration: How users acquire application-specific roles, which protects sensitive data.
  • JavaScript Mode: The JavaScript standard the app supports.
  • Runtime Access Tracking: How script access to resources in other applications is tracked and authorized.
  • Restrict Table Choices: Whether design choices are limited to tables in the same application.
  • Design Access: Which other applications have design access to this app’s tables or records.
  • Primary Menu and User role: Where the app’s modules display, and the role needed to open the menu.
  • Logo and Short description: The image shown in the applications list and on the Store, and a summary of purpose.
  • Guided Setup: A setup guide that starts when the app is installed or upgraded.
  • Licensable, Subscription requirement, Subscription model: Subscription Management tracking settings.

Version and scope: the two fields update logic depends on

The version is a comparison point. The repository and the Store read it to decide whether a newer version exists for users.

Each custom application has a private scope by default, identified by a namespace. The namespace prevents naming conflicts and lets the contextual development environment decide which changes are permitted. Scope is read only after creation. Changing it means deleting the application and recreating it under a new value, so settle the scope name before building tables, business rules or records inside the app.

For new development, prefer a scoped application when its boundaries fit the work. Review the namespace before creating application files, because a name change later does not rename the scope.

Design and runtime settings

JavaScript mode

The JavaScript Mode field offers three choices. ECMAScript 2021 (ES12) supports a subset of ECMAScript 2021 and 2022 (ES13) syntax and features. ES5 Standards Mode supports ECMAScript 5 syntax and features. Compatibility Mode suits scripts written before ES5 Standards Mode was added.

Applications on ES5 Standards or Compatibility Mode can turn on ES12 for individual scripts. Switching an existing application to ES12 can change how its scripts behave. Changing this setting requires a delegated developer role granting full access or admin. In the application navigator, enter sys_app.list, select the application, choose the JavaScript Mode value, and select Update. Test the existing scripts before promoting the change.

Runtime access tracking

Runtime Access Tracking sets how script access to resources in other applications is handled.

  • None: no tracking and no authorization. Scripts reach other applications as far as table-level access allows.
  • Tracking: during development, the system creates a cross-scope privilege record for each request and marks it Allowed. After installation it stops tracking new requests, and operations run as table-level access allows.
  • Enforcing: records are created the same way during development, but they are marked Requested. After installation, new requests are no longer tracked. The operation is blocked until an administrator changes the status to Allowed.

Designers should run all of an application’s script logic during development, so the system records each request before the app is published.

Cross-scope privilege records

Each cross-scope privilege record holds a source scope, a target scope, a target name, a target type, an operation and a status of requested, allowed or denied. Tables support read, write, create and delete. Script includes and script objects support the execute API operation.

Table privilege is capped by the permissions set on the table object record. A delete privilege for a table is not allowed when that table’s object record does not allow delete. Administrators can create these records in advance to tell developers which cross-scope resources to expect.

Access control: application administration and design access

Application administration

Application administration restricts how users acquire application-specific roles. It helps keep unauthorized users away from sensitive records in forms, lists and the interface. It also helps prevent system-level admins from assigning themselves protected roles, bypassing access controls to a protected app, or inheriting those roles through a group.

Enable it on the application record, then restrict role assignment from the user role record. Turn it on after development and before application records are added. If it is enabled with no application-specific roles assigned, no user can access the application, and the platform shows a warning when no user holds the application-specific admin role that assigns roles for the application.

The application-specific admin role opens the application and lets its holders assign other users to its roles. It grants no other admin rights, so changing tables, fields and form layouts still needs the system-level admin role. The property [scoped_app_name].min_admin_count sets how many holders must exist. An invalid value falls back to the default of one.

A protected app needs the system-level admin role on both the development and production instances. The application-specific admin role is created and granted to system admins during development, application administration is enabled on the record, and the app is published. On production, the role goes to the right people, then comes off the system-level admins.

Design access

When Restrict Table Choices is selected, developers can pick a table from another application when an application design access record grants access to it. That record names a Source Scope, a Target Package, and the Application it belongs to. Check the requesting scope and target package when an expected table is missing from a design choice. A design access grant addresses configuration choices; diagnose a blocked script against the runtime privilege and table settings. Once a developer creates configuration records against another application, that application appears in the dependencies list.

Dependencies and subscription fields

The Dependencies related list identifies applications the app depends on. Review it when a script include or configuration change introduces work across application boundaries. Administrators can use this list to assess risks to existing processes or data, while developers check that the application has the access it needs.

Before changing a dependency, compare the related list with the application files and the script paths exercised in testing. Record which referenced resources the deployment needs and which access settings permit their use. Treat a dependency review and an access review as separate checks.

Licensable, Subscription requirement and Subscription model connect the app to Subscription Management. Subscription requirement sets whether a separate subscription is required or the app is monitored. Subscription requirement and Subscription model are for partners selling resellable Store applications, rather than customers building an app for their own use.

For help planning this work, see ServiceNow implementation.

Publishing and updates

The ServiceNow application repository holds scoped applications published by ServiceNow customers. Each organization sees and manages its own published applications. Self-hosted, air-gapped customers have a separate internal Application Repository option, so confirm the hosting arrangement before planning distribution. Company instances are entitled to a published application automatically by default. The entitlement type can be changed to limit which instances can install it.

Application Manager and the Upgrade Console

Application Manager installs, updates, uninstalls and repairs licensed applications and plugins. It is active by default. Starting with Australia patch 1, the Legacy Application Manager was deprecated, and its bookmarks redirect to the new Application Manager.

The Upgrade Console also includes an Upgrade Plan tool, which packages applications and target versions so they install during an instance upgrade. It is recommended to build a new plan for each instance upgrade, because a plan built earlier cannot be reused for the next one.

App versions during an instance upgrade

Record the installed version of each app before a release upgrade and check it afterwards.

Questions about application record field checks

Does Can edit application in Studio control the new Studio?

This field is a legacy option and does not apply to the new ServiceNow Studio. Do not use its value as the explanation for a new Studio access problem. Check the permissions for the development action being attempted.

Where can I inspect the configuration records belonging to the app?

Use Application Files on the application record to inspect its configuration records in platform feature tables. Start there when checking whether a changed record belongs to the intended application before preparing a release.

Does the Dependencies list capture script-based dependencies automatically?

Review script-based dependencies separately and add them as needed. Automatic dependency records arise when tables are extended or another application creates application files for the application; that does not remove the need to review dependencies introduced by scripts.

What happens if the minimum administrator count exceeds the assigned count?

The setting can exceed the number currently assigned. You cannot delete application-specific admins until their count exceeds that minimum. Check both the property and the assigned users before planning an administrator handoff.