<h2>Service catalog variables</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2024" /><meta name="DC.rights.owner" content="(C) Copyright 2024" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Service catalog variables" /><meta name="abstract" content="Service catalog variables capture and pass on information about choices a customer makes when ordering a catalog item. Variables help define the structure of a catalog item form that is displayed to the customer." /><meta name="description" content="Service catalog variables capture and pass on information about choices a customer makes when ordering a catalog item. Variables help define the structure of a catalog item form that is displayed to the customer." /><meta name="DC.subject" content="variables, service catalog" /><meta name="keywords" content="variables, service catalog" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/concept/c_ServiceCatalogManagement.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/general/concept/capabilities-bundle-landingpage.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/general/concept/manage-services.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/reference/r_VariableTypes.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/t_CreateAVariableForACatalogItem.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/configure-variable-width.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/define-regex-vrble.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/t_PassingVariablesBetweenTasks.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/concept/c_ServiceCatalogDataLookup.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/t_AuditableServiceCatalogVariables.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/concept/service-catalog-variable-editor.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/debug-actions-on-catalog-item-variables.html" /><meta name="DC.relation" scheme="URI" content="../../../product/service-catalog-management/task/debug-a-service-catalog-variable.html" /><meta name="DC.relation" scheme="URI" content="../script/server-scripting/concept/c_ScriptableServiceCatalogVariables.dita/c_ScriptableServiceCatalogVariables.html" /><meta name="DC.relation" scheme="URI" content="../use/reporting/task/use-service-catalog-variables-in-report.dita/use-service-catalog-variables-in-report.html" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-02-02" /><meta name="DC.date.modified" content="2023-02-02" /><meta name="page-type" content="platform" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="c_ServiceCatalogVariables" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Service catalog variables</title></head><body id="c_ServiceCatalogVariables"> <div class="breadcrumb"><a class="link" href="../../../administer/general/concept/capabilities-bundle-landingpage.html" title="Extend the Now Platform with additional applications and features.">Extend Now Platform capabilities</a> > <a class="link" href="../../../administer/general/concept/manage-services.html" title="Give your customers tailored catalogs for products, and create portals for service requests, using the ServiceNow Service Catalog app.">Manage service capabilities</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Service catalog variables</h1> <div class="body conbody"><p class="shortdesc"><span class="ph">Service catalog variables capture and pass on information about choices a customer makes when ordering a catalog item. Variables help define the structure of a catalog item form that is displayed to the customer.</span></p> <p class="p">For example, you can define a variable called <span class="ph uicontrol">Memory</span> to provide users with memory options at an extra cost for a PC catalog item. An Apple iPhone catalog item can use a variable called <span class="ph uicontrol">Color</span> that allows customers to select the color when they order the phone from the catalog. You can define some variables to affect an item price, depending on the choices made.</p> <p class="p"><span class="ph">Service Catalog</span> provides several types of variables, which are also referred to as questions. Variables can be stored, accessed from multiple places, and passed between tasks in a process when fulfilling a request. They can be displayed on the Requested Item and Catalog Task forms after an item has been ordered.</p> <p class="p">You can define service catalog variables with the catalog_admin role.</p> </div> <div class="related-links"> <ul class="ullinks"><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/reference/r_VariableTypes.html">Types of service catalog variables</a></strong><br /> Variables allow you to specify questions for a catalog item. Several types of service catalog variables are provided. Some variable types accept variable attributes.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/t_CreateAVariableForACatalogItem.html">Create a service catalog variable</a></strong><br /> Create service catalogs variables to gather information from users ordering a catalog item, for example, to ask users which options they want for the item.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/configure-variable-width.html">Configure a default width for service catalog variables</a></strong><br /> Configure the default width for variables on a catalog item page to specify what percentage of the screen size that it can span.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/define-regex-vrble.html">Define a regular expression for a variable</a></strong><br /> Define a regular expression (regex) to validate a variable value.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/t_PassingVariablesBetweenTasks.html">Pass variables between tasks</a></strong><br /> Pass variables from one step of the fulfillment process to another.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/concept/c_ServiceCatalogDataLookup.html">Service catalog data lookup</a></strong><br /> The Data Lookup and Record Matching Support for Service Catalog plugin offers similar features to the general Data Lookup and Record Matching Support plugin.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/t_AuditableServiceCatalogVariables.html">Audit service catalog variables</a></strong><br /> Audit the variables so that the audit history records all changes to the named variables.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/concept/service-catalog-variable-editor.html">Service Catalog variable editors</a></strong><br /> Variable editor displays variable values in fulfiller forms. A requester, while requesting the item, specifies these variable values in the catalog item questions.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/debug-actions-on-catalog-item-variables.html">Debug actions on catalog item variables</a></strong><br /> Analyze the client-side actions affecting the state and values of all variables. You can also get insights into the performance of each script working on the variables.</li><li class="link ulchildlink"><strong><a href="../../../product/service-catalog-management/task/debug-a-service-catalog-variable.html">Debug a Service Catalog variable</a></strong><br /> Monitor changes in the state and the value of a <span class="ph">Service Catalog</span> variable due to catalog client scripts, catalog UI policies, and catalog data lookups. You can diagnose and resolve issues related to such changes, and track client-side scripting errors on this tab.</li></ul> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../product/service-catalog-management/concept/c_ServiceCatalogManagement.html" title="With the ServiceNow Service Catalog application, create service catalogs that provide your customers with self-service opportunities. Customize portals where your customers can request catalog items such as service and product offerings. You can also standardize request fulfillment to ensure the accuracy and availability of the items in the catalogs.">Service Catalog</a></div> </div> <div class="linklist relinfo"><strong>Related topics</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../script/server-scripting/concept/c_ScriptableServiceCatalogVariables.dita/c_ScriptableServiceCatalogVariables.html" target="_blank" rel="noopener noreferrer">Scriptable service catalog variables</a></li><li class="linklist"><a class="link" href="../use/reporting/task/use-service-catalog-variables-in-report.dita/use-service-catalog-variables-in-report.html" target="_blank" rel="noopener noreferrer">Use service catalog variables in a report – Report Designer</a></li></ul></div> </div> </body></html></div>