ServiceNow Attachment Download
In this article
- 1 Overview
- 1.1 Snap Type
- 1.2 Prerequisites
- 1.3 Support for Ultra Pipelines
- 1.4 Known Issues
- 2 Snap Views
- 3 Snap Settings
Overview
You can use this Snap to download attachments. It takes a sys_id from the upstream snap as input, and returns the attachments in binary if they exist.
Snap Type
The ServiceNow Attachment Download Snap is a Read-type Snap that reads
Prerequisites
A valid account with the required permissions.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
|---|---|---|---|---|
Input | Document
|
|
| This Snap has exactly one document input view. It expects a document containing the |
Output | Binary
|
|
| This Snap has exactly one document output view when no attachment is found, and a binary output view when the attachment exists. If a matching attachment is found for the given |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. | |||
Snap Settings
Expression : JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
SnapGPT : Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
Suggestion : Populates a list of values dynamically based on your Account configuration.
Upload : Uploads files. Learn more.
Learn more about the icons in the Snap Settings dialog.
Field Name | Field Type | Description |
|---|---|---|
Label*
Default Value: ServiceNow Attachment Download Example: ServiceNow Attachment Download | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have multiple instances of the same Snap in your pipeline.
|
Sys ID* Default Value: $sys_id Example: $sys_id | String | Specify either the Sys ID from the record that contains attachments or the Sys ID of the attachment to download, depending on the ID type selected from the property |
ID type Default Value: Attachment Sys ID | Dropdown | Choose the Sys ID from the following options:
|
Number of retries Default Value: 5 Example: 3 | Integer | Specify the maximum number of attempts the Snap makes to reconnect to the ServiceNow instance if the initial connection attempt fails, before it stops execution and displays an error. |
Retry interval (seconds) Default Value: 3 Example: 5 | Integer | Specify the number of seconds the Snap waits between each retry attempt. |
Snap Execution Default Value: Validate & Execute | Dropdown list | Select one of the following three modes in which the Snap executes:
|