Download the contents of a file from ServiceNow using a system ID.
|System ID||Sys_id value of the attachment. The URL of the incident will usually contain this value. For example, for the URL
|File Content||Contents of the attached file.||File|
|Size||Size of the attachment in bytes.||Number|
|Name||File name of the attachment.||String|
Type of object that was downloaded. For example,
|Content Type||Content type of the file, included in the message body for multipart uploads.||String|
|Table Name||Name of the table from which you want to download a file.||String|
|Table System ID||Sys_id value of the record on the specified table from which you want to download a file.||String|
|State||State of the incident from which an attachment is downloaded.||String|
|Hash||128-bit (16-byte) hash value, in the form of a 32-digit hexadecimal number, for the attachment.||String|
|Created Date Time||Date and time when the attachment was created. For example,
||Date & Time|
|Updated Date Time||Date and time when the attachment was last updated. For example,
||Date & Time|
Typical use case for the Download Attachment card
To use the Download Attachment card successfully in a flow, in the System ID input field, enter a system ID value. When a flow runs that includes this card, the specified file will be downloaded to the Workflows file system. Use the Content Type output field to access the file at a later time.
In your ServiceNow instance, the following settings may limit the performance of the Download Attachment card:
REST Attachment API request timeout: Search for
transaction quotato find this setting. If the timeout value is set too low, then the API returns a timeout error.
Maximum file attachment size in megabytes: Search for
attachment limits. The default limit is usually 1024 MB. While you can change this setting, the file size cannot be larger than 2 GB. See Workflows system limits.