Variable substitution in outbound SOAP
concept brazil Updated Sep 10, 2026 1 min read c_VariableSubstitutionSOAP.md
To use variable substitution, use the format ${<variable_name>} instead of defining a specific value.
Text
...<short_description xsi:type="xsd:string">${short_desc}</short_description>...To test variable substitution after you have modified the SOAP envelope with the variables, define values for the variables in the SOAP Message Parameters related list of the SOAP Message Function. For example, click New and enter the following information:
[Omitted image "SoapMessageParameters.png"] Alt text:
Parent Topic:SOAP message
31 lines · 1.2 KB
---
title: Variable substitution in outbound SOAP
description: To use variable substitution, use the format $\{<variable\_name>\} instead of defining a specific value.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/api-reference/web-services/c\_VariableSubstitutionSOAP.html
release: brazil
product: Web Services
classification: web-services
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [SOAP message, SOAP, Outbound, Web services, API implementation, API implementation and reference]
---
# Variable substitution in outbound SOAP
To use variable substitution, use the format `${<variable_name>}` instead of defining a specific value.
```
...
<short_description xsi:type="xsd:string">${short_desc}</short_description>
...
```
To test variable substitution after you have modified the SOAP envelope with the variables, define values for the variables in the SOAP Message Parameters related list of the SOAP Message Function. For example, click **New** and enter the following information:
\[Omitted image "SoapMessageParameters.png"\] Alt text:
**Parent Topic:**[SOAP message](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/c_SOAPMessage.md)
| title | Variable substitution in outbound SOAP |
| description | To use variable substitution, use the format $\{<variable\_name>\} instead of defining a specific value. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/web-services/c\_VariableSubstitutionSOAP.html |
| release | brazil |
| product | Web Services |
| classification | web-services |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | SOAP messageSOAPOutboundWeb servicesAPI implementationAPI implementation and reference |