Contextual variables for config data
reference brazil Updated Sep 10, 2026 1 min read cdm-context-var.md
Contextual variables are out-of-the-box variables delivered by ServiceNow that enable you to use the context of a node to define a variable.
Important: DevOps Config is now deprecated and no longer supported or available for new activation.
For example: CollectionA has defined these variables:
- "environment": "(#DEPLOYABLE.ENVIRONMENT_TYPE#)"
- "deployable": "(#DEPLOYABLE.NAME#)"
When you add the collection to a deployable, these variables are set to the values defined in the context, which would be the environment type and name of the deployable for CollectionA.
The available out-of-the-box contextual variables are:
| Variable | Description |
|---|---|
| NAME | Name of the node. |
| APPLICATION.NAME | Name of the application. |
| DEPLOYABLE.NAME | Name of the deployable. |
| DEPLOYABLE.ENVIRONMENT_TYPE | Environment type of the deployable. |
| COLLECTION.NAME | Name of the collection. |
| FULL_PATH | The full file path of the collection. |
| RELATIVE_PATH | The file path of the collection, relative to the deployable. |
| RELATIVE_PARENT_PATH | The file path of the parent to the node. |
Parent Topic:CDM data model
43 lines · 1.8 KB
--- title: Contextual variables for config data description: Contextual variables are out-of-the-box variables delivered by ServiceNow that enable you to use the context of a node to define a variable. locale: en-US canonical_url: https://www.servicenow.com/docs/r/it-service-management/devops-family/cdm-context-var.html release: brazil product: DevOps \(Family\) classification: devops-family topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [CDM data model, DevOps Config reference, DevOps Config, IT Service Management] --- # Contextual variables for config data Contextual variables are out-of-the-box variables delivered by ServiceNow that enable you to use the context of a node to define a variable. **Important:** DevOps Config is now deprecated and no longer supported or available for new activation. For example: CollectionA has defined these variables: - "environment": "\(\#DEPLOYABLE.ENVIRONMENT\_TYPE\#\)" - "deployable": "\(\#DEPLOYABLE.NAME\#\)" When you add the collection to a deployable, these variables are set to the values defined in the context, which would be the environment type and name of the deployable for CollectionA. The available out-of-the-box contextual variables are: |Variable|Description| |--------|-----------| |NAME|Name of the node.| |APPLICATION.NAME|Name of the application.| |DEPLOYABLE.NAME|Name of the deployable.| |DEPLOYABLE.ENVIRONMENT\_TYPE|Environment type of the deployable.| |COLLECTION.NAME|Name of the collection.| |FULL\_PATH|The full file path of the collection.| |RELATIVE\_PATH|The file path of the collection, relative to the deployable.| |RELATIVE\_PARENT\_PATH|The file path of the parent to the node.| **Parent Topic:**[CDM data model](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-service-management/devops-family/cdm-data-model.md)
| title | Contextual variables for config data |
| description | Contextual variables are out-of-the-box variables delivered by ServiceNow that enable you to use the context of a node to define a variable. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-service-management/devops-family/cdm-context-var.html |
| release | brazil |
| product | DevOps \(Family\) |
| classification | devops-family |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | CDM data modelDevOps Config referenceDevOps ConfigIT Service Management |