Viewing and editing config data

  • Release version: Yokohama
  • Updated January 30, 2025
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Viewing and editing config data

    This guidance explains how ServiceNow customers can view and update application configuration data (config data) using changesets within the Config data tab. It outlines the process of creating, editing, saving, and committing changesets to manage the structure and configuration data items (CDIs) of an application’s deployables.

    Show full answer Show less

    Important: Starting with the Washington DC release, the DevOps Config feature is being prepared for future deprecation. It will no longer be installed on new instances but remains supported on existing ones.

    Application Page Tabs

    • Overview: Displays basic application settings and includes a Manage deployables button to edit config data.
    • Snapshots: Lists deployable snapshots with validation and publication status, which are used in CI/CD pipelines.
    • Config data: Shows a read-only tree view of config data. When editing a changeset, it switches to an editor and preview panel for creating and modifying config data.
    • Settings: Lists policies mapped to deployables for review.
    • Activity: Displays changesets allowing review, continued editing, or publishing as new config data versions.

    Config Data Tab and Editing Workflow

    After selecting Edit config data, you enter the Config Data tab where you can:

    • Navigate the config data tree: Select nodes representing parts of the application’s config data structure to edit their CDIs.
    • Switch views: Use the view selector to toggle between Script view (key-value pairs in script format) and List view (editable list of CDIs).
    • Edit data: Make changes directly in the Editor panel, which shows only data directly in the selected node to reduce clutter and avoid accidental edits.
    • Preview changes: The Preview panel shows the fully resolved, persisted state of the config data including applied variables and encrypted values (visible only to users with the CDM Secrets role).

    Actions and Best Practices

    • Save Changes: Persist changes to the changeset without committing to the application. This allows continuing edits later or moving to other tasks.
    • Commit Changeset: Finalizes changes by generating new snapshots for affected deployables and updating the application’s config data.
    • Delete Changeset: Remove the changeset record if no longer needed.
    • Refresh View: Update the displayed data to reflect the latest state.
    • Conflict Handling: The system blocks committing changesets if conflicting changes exist in other open changesets to prevent overlap.
    • Additional options in More actions menu: Apply variables, view encrypted data, and see excluded inheritance data.

    Important: Save your changes when confident and before leaving the Config data tab to avoid data loss.

    Changeset Header and Details

    The changeset header and Details tab provide metadata including:

    • Unique changeset number
    • Description explaining the purpose and scope
    • Application name
    • State of the changeset (Open, Committed, Blocked, or Commit in progress)
    • Audit info: Creator, last updater, and committer with timestamps

    This information helps track changes and manage the lifecycle of configuration updates effectively.

    You can update the config data of an application by creating or opening a changeset on the Config data tab, where you update the structure and CDIs of the config data.

    Important:
    Starting with the Washington DC release, DevOps Config is being prepared for future deprecation. It will be hidden and no longer installed on new instances but will continue to be supported. For details, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.

    Tabs on the Application page

    When you open an application, the header area for each tab displays administrative details for the application: Application name, name of the user that created the application, and timestamp of creation.

    • Overview: Basic settings of the application and a Manage deployables button that enables you to edit config data.
    • Snapshots: List of snapshots for each deployable in the application. Each entry includes validation and publication status. Policies that execute against a snapshot return validation result. Published snapshots are available for release to the CI/CD pipeline.
    • Config data: Read-only view of the config data in a tree structure. Select a node in the tree to view the config data for that node in the application service or infrastructure service. (You can edit an open changeset or create a new or changeset. The tab then updates to show an Editor panel and a Preview panel where you can create, edit, and save the changeset. You cannot change an existing snapshot, but you can start with a snapshot changeset and save the changes in a new changeset.)
      Important:
      Save your changes whenever you are confident of the changes and before you leave the Config data tab.
    • Settings: A list of policies that are mapped to the deployables. Select an item to open it.
    • Activity: List of changesets. On this tab, you can open a changeset to continue editing or publish a changeset as a new version of the application config data.

    Config data tab

    After you open a changeset by selecting Edit config data, you can edit the config data on the Config Data tab. In the config data tree (A in the screenshot), select the node to edit. By default, the editing panel (C) displays the script view of the key-value pairs (the config data items or CDIs) in the selected node.

    Config data tab on the Changeset form of a CDM application.

    A: Config data tree
    The config data tree displays the structured config data. Select a node to edit the associated data.
    B: View selector
    To switch from the Script view (shown as panels C and D) to an editable list of CDIs and their values, slide the selector to List view.
    C: Editor panel
    The Editor panel displays the contents of the selected node. You can edit the config data directly in the Editor panel.
    Important:
    To ensure that you edit only the data that you intend to edit, the panel displays only data that is directly in the selected node. The Editor panel lists all included collection and component names but not their contents. This strategy reduces clutter and clarifies the structure of the deployable. To view the fully resolved config data, view the Preview panel (D).
    D: Preview panel
    The Preview panel displays the persisted state of the data in structured form. If you make any changes in the Editor panel and save the changes, the data in the Preview panel is updated to include the changes.
    • To resolve variables and view the fully resolved data in the preview panel: In the More actions menu (More actions icon.), select Apply variables.
    • Encrypted data appears as ********. Users with the CDM Secrets [sn_cdm.cdm_secrets] role can view all encrypted values in the preview panel. In the More actions menu (More actions icon.), select View encrypted data.
    • To see nodes and CDIs that are excluded from inheritance: In the More actions menu (More actions icon.), select View excluded data.
    E: Actions
    • Refresh View: Update data in the view.
    • Save Changes: Save (persist) the current changes but do not commit the data. The Editor panel, List view, and Preview panel refreshes to reflect the resolved state of the changeset. The system updates the changeset but does not update the application. Changes appear on the Activity tab. You must commit a changeset to update the config data for the application. After saving, you can move on to other activities and return later to edit the changeset. The button appears only if you have made changes.
    • Delete Changeset: Delete the record of the changeset.
    • Commit Changeset: The system generates a snapshot of each deployable that is affected by the changes.
      Note:
      Because changes in two changesets that are open at the same time can conflict, the system blocks such commits. See Conflicts between changeset commits.
    F: Header for the changeset
    The header displays general read-only information about the changeset. You can view this information and additional information on the Details tab, as described in the next section.
    G: Name path of the selected node
    The name path is the complete folder path of the selected node in the list. Select the copy name path to clipboard icon (Copy name path to clipboard icon.) to copy the name path of the node.

    Changeset - Header and Details tab

    Table 1. Information on the Changeset Header and on the Details tab
    Field Description
    Changeset number Unique sequential changeset number that the system auto-assigns.
    Description Description that helps other users understand the purpose, scope, and intent of the changeset.
    Application Application on which the changeset is based.
    State
    • Committed: This draft of the changeset has been committed.
    • Open: The changeset is being updated and is not committed.
    • Blocked: Other commits conflict with this commit. The changeset cannot be committed. See Conflicts between changeset commits.
    • Commit in progress: A draft of the changeset that is currently being committed.
    Created / Created by User who created the changeset and the timestamp of creation.
    Updated / Updated by User who updated the changeset and the timestamp of the update.
    Committed / Committed by User who committed the changeset and the timestamp of the commit.