Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Define or update a component

Define or update a component while working in a changeset.

Before you begin

Important: Starting with the Washington D.C. release, DevOps Config is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported.

Role required: cdm_editor or cdm_admin

About this task

Important: Save your changes whenever you are confident of the changes and before you leave the Config data tab.

Procedure

  1. Follow this procedure to add a component to an application:

    1. While working in a changeset, select the more actions icon (
Image omitted: icon-actions-menu.png
More actions icon.\) for the **components** node and select **Create component**.
2.  Enter a unique and meaningful name and then select **Create**.
  1. To perform other actions, select the more actions icon (
Image omitted: icon-actions-menu.png
More actions icon.\) for a component and select the action, as follows.
SelectionAction
Create componentAdd a component as described above.
Create CDIAdd an individual config data item \(CDI\) and value to the collection. See the instructions in the next stepThe CDI can have an explicit value, or it can be a variable, override, or overlay. - Variable: The value for this CDI will set the value for an identically-named CDI in an included component. - Override: The value for this CDI will override the value for an identically-named CDI in an included component.You can also override inherited nodes from the child collection. - Overlay: A CDI that does not appear in any included component.
Include in collections

Include the selected component in specified collections.In the Include in collections dialog box, select the collections that should include the component and then select Include.

Note: Only collections that do not already include the component appear in the list.Inclusion of a node takes precedence over inheritance. If a node is both included and inherited, it is instead considered included.

Add fileAdd a file as a file node.You can attach a MIME-type file with a maximum file size of 5 MB. For more information on adding files, see Manage files in the config data model using file nodes.
Exclude from inheritance

Removes the inherited node and all child objects from the current collection.You can see excluded nodes in the changeset tree when you access the More actions menu (

Image omitted: icon-actions-menu.png
More actions icon.) and select <strong>View excluded data</strong>. Excluded nodes are appended with the label "Excluded".</p>

Select Include in inheritance from the more actions icon (

Image omitted: icon-actions-menu.png
More actions icon.) to stop excluding the node and re-add it to the changeset.</p></td></tr><tr><td id="d439569e237"><strong>Rename</strong></td><td>
Rename the selected component.
DeleteDelete the selected component.
View relationshipsView direct relationships with the node. Direct relationships are formed between nodes by inheritance or by being included.
  1. Add a CDI: Select the more actions icon (
Image omitted: icon-actions-menu.png
More actions icon.\) for the item and select **Create CDI**.

Related topics

Create or update a variable CDI

Manage files in the config data model using file nodes

CDM data model

Viewing and editing config data

How encrypted data is handled

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.

  
NameUnique and meaningful name for the CDI.
ValueValue that the CDI has in the current context or define a variable. - You can specify a direct `key : value` pair. - You can define a variable and specify its default value. Variable definitions have the following form: ``` @@@@: ``` - You can specify a value for a variable using the following form: ``` "": "" ``` - You can specify a contextual variable. These are variables defined out-of-the-box that use the context of the node to set the variable value. The variable uses the following form: ``` "": "(##)" ``` - You can use recursive variables for a CDI value. Recursive variables use other variable values as parameters to set the CDI value. For example, each of these CDI values can resolve the same due to recursive variables: ``` cdi1: @(favorite_food/@(person)@)@

cdi2: @(favorite_food/@(john)@)@

cdi3: waffles ```
Encrypted

Option to specify that the value of the CDI should be encrypted. This option appears only for users with the CDM Secrets [sn_cdm.cdm_secrets] role.

After you create the CDI, the value appears in all views as *******. To view the value on any tab that displays the CDI, users with the CDM Secrets [sn_cdm.cdm_secrets] role can select the View encrypted data menu option.