---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Attachment

# Attachment {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

When submitting a catalog item request, this variable lets you upload an attachment for a question of the item.  
After you upload the attachment, you can also download, update, and delete it. Even when fulfilling the request, you can download, update, and delete the attachment in a requested item or catalog task. You can specify restrictions for file size and extensions using the max_file_size and allowed_extensions variable attributes. For information on these variable attributes, see [Service Catalog variable attributes](https://www.servicenow.com/docs/0uikZdqONt0Trs2GcoPj2A "There are a few Service Catalog variables support specific attributes to define the behavior and restrictions for variables.").  
Important:  
* You should specify only an integer value for the following:
  * The <kbd class="ph userinput">max_file_size</kbd> variable attribute
  * The glide.sc.variable.attachment.default_max_size system property (catalog-level). The default value is 20.
  {#attachment__ul_qm3_2h5_3mb}
* If the <kbd class="ph userinput">max_file_size</kbd> variable attribute is not specified, the glide.sc.variable.attachment.default_max_size system property value is considered as the upper limit for the attachment file size.
* Irrespective of the file size allowed in the variable, the attachment file size cannot exceed the size specified in com.glide.attachment.max_size system property, which is applicable for attachments across ServiceNow AI Platform.
* The g_form.setValue() API is supported in catalog client scripts.
{#attachment__ul_wvx_1zt_3mb}  
Note:  
When you edit an attachment, the existing attachment is removed and a new attachment is uploaded.

When you upload an attachment to this variable, an entry is created in the Attachment \[sys_attachment\] table. The variable is not updated until you submit the item request, add it to the cart, or save the record while editing it (in
fulfiller flows). If you delete or update the attachment before submitting the corresponding catalog item, the entry in the Attachment \[sys_attachment\] table is cleared.  
The attachment uploaded for this variable is copied in the following scenarios:

* In an order guide, when the variable is cascaded to a catalog item in the rule base  
  Important:  
  The individual variable attributes are not honored for the catalog items in the rule base. For example, let us consider that a variable in the Describe Needs section allows a .pdf attachment and the variable of a catalog item in the rule base allows a .txt attachment. When you upload an attachment of .pdf type for a variable in the Describe Needs section, it is initially cascaded to the variable in the catalog item as well and the variable attributes specified in the catalog item are not honored. However, if you delete this initially cascaded attachment from an individual item and try to upload a new attachment, then the individual variable attributes of the catalog item are honored.
* In a record producer, when the variable is mapped to a task table field. This variable can be mapped only to the File Attachment field type of a task table.

{#attachment__ul_bxv_3wy_dmb}  
Important:  
After an attachment is copied, the changes to the individual attachments are independent. For example, any change to an attachment in the order guide does not impact the same attachment cascaded to the catalog item in the rule base.  
Warning:  
Since the attachments are copied, a larger size can lead to performance issues.  
If the system-wide anti-virus check is enabled, the anti-virus check is performed on the attachment when you:

* Submit a request for the corresponding catalog item
* Add the catalog item to the cart or wish list
{#attachment__ul_vvr_fw4_3mb}  
Note:  
* This variable is not supported in a multi-row variable set.
* This variable is supported in flows and workflows.
* This variable is available in condition builder
* For this variable, item variable assignment is not supported in order guide.
{#attachment__ul_vzg_qvg_bmb}  
Figure 1. Attachment variable
**Related concepts**   

* [Break](https://www.servicenow.com/docs/dWGTkTriLo0wWf6ES7_RAQ "The break variable displays a horizontal line across the form.")
* [Check box](https://www.servicenow.com/docs/fxVgbaNQKfBXWY3_YKTxVw "The check box variable lets you enable and disable options by selecting and clearing it.")
* [Container start, container split, and container end](https://www.servicenow.com/docs/DrMjBwL88i1IV~Svlasozw "The container start, container split, and container end variables define a layout for a container that can hold more variables.")
* [Date, Date and time, and Duration](https://www.servicenow.com/docs/hA598qHUPRYn3O4l6fkx7g "The date variable creates a widget with a field and calendar to select a date.")
* [Email](https://www.servicenow.com/docs/IaA8~makXdQ6QW~_pvxU_g "The email variable creates a widget to enter and select an email address.")
* [HTML](https://www.servicenow.com/docs/RfucgOibsokDDRugdSTY0A "The HTML variable lets you provide content with advanced formatting, including images, for a catalog item.")
* [IP Address](https://www.servicenow.com/docs/ZGgpq390IAykxLTg9gAVCQ "Use the IP address variable to specify the IPv4 and IPv6 data for a catalog item.")
* [Label](https://www.servicenow.com/docs/~MDa8uzxzbKpkvc5Xj4l8A "The label variable displays a label across the form. Labels are formatting elements. No data is collected.")
* [List collector](https://www.servicenow.com/docs/8J27Knp_STMq9medxSSdiA "The list collector variable creates an interface that lets you select and add multiple records from a table.")
* [Lookup multiple choice](https://www.servicenow.com/docs/a7w04hKkZgBSI9S_OD17Aw "The lookup multiple choice variable creates radio buttons using data from a table. Its functionality is similar to the lookup select box variable, which creates a choice list from queried data.")
* [Lookup select box](https://www.servicenow.com/docs/LBvgqAf_mcGjWJixjmgaIg "The lookup select box variable creates a choice list using data queried from a table. Its functionality is similar to the lookup multiple choice variable, which creates radio buttons from queried data.")
* [Custom and Custom with label](https://www.servicenow.com/docs/NBxteVUiAP6XiptGkqYDkg "The custom variable inserts a UI macro into the catalog item. Custom with label variable inserts a UI macro with a label.")
* [Masked](https://www.servicenow.com/docs/NMCzp0J6PiVZplt0gQDudQ "The masked variable inserts a field that masks the text entered.")
* [Multi-line text](https://www.servicenow.com/docs/TvrnPk9UQnEd0PbQe9vQbw "The multi-line text variable creates a field that lets you enter multiple lines of text.")
* [Multiple choice](https://www.servicenow.com/docs/tW1tAfwFWenGIaQgsswqrQ "The multiple choice variable creates radio buttons for question choices.")
* [Numeric scale](https://www.servicenow.com/docs/f0TN582AQCAHfYTCG55gbA "The numeric scale variable creates a set of radio buttons for a range of options, like a Likert scale.")
* [Reference](https://www.servicenow.com/docs/hiCdYZT7gLxUFaiXccl8mg "A reference variable references a record in another table. For example, a variable named point_of_contact references the User [sys_user] table.")
* [Requested for](https://www.servicenow.com/docs/y0UX7kzevzpj9ZhHt9pWWw "Before submitting a catalog item request, this variable helps you specify who this request can be submitted for.")
* [Rich Text Label](https://www.servicenow.com/docs/tSRttV2VzlBJ23Ex7xFdWA "This variable displays a formatted label on a catalog item form.")
* [Select box](https://www.servicenow.com/docs/4xWYz86TXWphXpK9HllSyQ "The select box variable creates a list from predefined question choices.")
* [Single-line text](https://www.servicenow.com/docs/jX8rCP1u_6C_r5WYhDlV8Q "The single-line text variable creates a field to enter a single line of text.")
* [UI page](https://www.servicenow.com/docs/73akCIN2nQzbkspqehOLqA "The UI page variable inserts a UI page into the catalog item.")
* [URL](https://www.servicenow.com/docs/q5ymCnV0l2m8dL53FIGNjA "The URL variable creates a widget for users to enter URLs.")
* [Wide single-line text](https://www.servicenow.com/docs/DFAWn_DAV1XZTmGG2mtbug "The wide single-line text variable creates a field that spans the form, letting users enter longer lines of text.")
* [Yes/No](https://www.servicenow.com/docs/P460jCgpARUtn051fZPz6w "The Yes or No variable creates a choice list with Yes and No as options.")  
**Related reference**   

* [Variable support in various channels](https://www.servicenow.com/docs/4mH030SL6tldgDLEGemgng "Service Catalog variables are supported in various channels.")

