Download attachment
Save an attachment to a local folder under its original file name.
Command in the ServiceNow toolkit · id ooa.servicenow/download_attachment · 9 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Instance address (URL) | String | No | Instance URL, e.g. https://yourcompany.service-now.com. | |
| Attachment ID | String | Yes | Attachment sys_id, from List attachments. | |
| Folder | File | No | . | Folder to save into. |
| User | String | No | User name. | |
| Password | Credential | No | Password from the vault. | |
| Access token | Credential | No | OAuth token from the vault. | |
| File name | String | No | Name to save the file under; the attachment's own name when empty. | |
| Overwrite | Boolean | No | true | Replace a file of the same name; when off, the action stops with an error instead. |
| API version | String | No | Version of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved file. |