activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

List All Attachments

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI PathRole
Returns all existing attachment metadata from a record.GET/api/now/table/sys_attachmentAttachments can be retrieved to any record as long as the user has read and write access to the target table.​

Input

Note: ServiceNow attachments table (sys_attachment) serves as a central repository for all file attachments across the system. To narrow down results, use the Filter Builder in Where input property, and include the Table name and Table sys id you're interested in. For example, to retrieve an incident attachment, use Table name = incident and Table sys id = ServiceNow Incident ID.

For an example on how to use this activity, see How to query all attachments of an incident.

ParameterDescriptionData Type
WhereOptional table name to filter attachments (for example, incident). string
Max recordsThe number of records to returnint32

Output

ParameterDescriptionData Type
AttachmentsList of attachment metadata recordsobject
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.