--- title: Attachment description: When submitting a catalog item request, this variable lets you upload an attachment for a question of the item. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/service-catalog/attachment.html release: australia product: Service Catalog classification: service-catalog topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 5 breadcrumb: [Types of service catalog variables, Service catalog variables, Service Catalog Reference, Service Catalog, Manage service capabilities, Extend ServiceNow AI Platform capabilities] --- # Attachment 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/variable-attributes.md). **Important:** - You should specify only an integer value for the following: - The `max_file_size` variable attribute - The **glide.sc.variable.attachment.default\_max\_size** system property \(catalog-level\). The default value is 20. - If the `max_file_size` 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. **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. **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 **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. \[Omitted image "AttachmentVariable.png"\] Alt text: The Attachment variable **Parent Topic:**[Types of service catalog variables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/r_VariableTypes.md) **Related topics** [Break]() [Check box]() [Container start, container split, and container end]() [Date, Date and time, and Duration]() [Email](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/service-catalog/email.md) [HTML]() [IP Address]() [Label]() [List collector]() [Lookup multiple choice]() [Lookup select box]() [Custom and Custom with label]() [Masked]() [Multi-line text]() [Multiple choice]() [Numeric scale]() [Reference]() [Requested for]() [Rich Text Label]() [Select box]() [Single-line text]() [UI page]() [URL]() [Wide single-line text]() [Yes/No]() [Variable support in various channels]()