---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/pt-BR/integrate-applications

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the DownloadAttachment component

# Use the DownloadAttachment component {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Download the attachments from the ServiceNow table record to the local drive by using the DownloadAttachment component in the RPA Desktop Design Studio.

## Antes de Iniciar

You must have access to the ServiceNow table record.

Role required: none

## Por Que e Quando Desempenhar Esta Tarefa

The maximum size of the attachments is 1024 MB.

You can configure the properties for the DownloadAttachment component. For more
information about these properties, see [Properties of the Attachment components](https://www.servicenow.com/docs/gRHleoRvsiz9vSDgV0Cjug "Learn about the various properties of the Attachment components.").

## Procedimento

1. In the Toolbox pane, navigate to ServiceNowAttachments.
2. Drag the DownloadAttachment component to the Design surface.
3. To configure the input fields, see [Configure port properties](https://www.servicenow.com/docs/5~2kYSde4vJH4DzKO94mHA "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
4. Connect the data and control ports of the DownloadAttachment component to the corresponding ports of the other components.  
   {#use-rpahub-attachments-downloadattachment__table_jnw_jn1_krb__entry__4}

   | Port name | Purpose of connection | Data Port type | Data type |
   |-|-|-|-|
   | attachmentSysID | The sys ID of the record that has the attachment. You can pass this value from a previously executed component. You can get the sys ID of a record following these steps: 1. Select the record in the connected ServiceNow instance and right-click the header bar. 2. Select Copy URL. 3. In the URL, you can find the sys ID after the parameter sys_id=. For example, 9d385017c611228701d22104cc95c371. {#use-rpahub-attachments-downloadattachment__ol_bpj_wwl_g2c} | Data In | String |
   | folderPath | The path in the local drive where the attachment will be downloaded. | Data In | String |
   | Overwrite | Returns a true or false value that indicates whether the file was successfully downloaded. If the download location already has a file with the same name, the operation fails. | Data In | Boolean |
   | Return | Returns the details of the downloaded file as an object and passes it to another component. | Data Out | Boolean |
   [ ]

   {#use-rpahub-attachments-downloadattachment__table_jnw_jn1_krb}
5. **Opcional:** To test the component, under the DESIGN tab, click Run.

