UiPath Documentation
activities
latest
false
Integration Service activities

Add Attachment

Add Attachment activity in the ServiceNow connector.

Project compatibility​

Windows | Cross-platform

Overview​

Add an attachment to an existing record.

DescriptionAPI MethodAPI PathRole
Adds an attachment to an existing record.POST/api/now/attachment/file?table_name={tableName}&table_sys_id={recordSysId}&file_name={name}Attachments can be uploaded to any record as long as the user has read and write access to the target table.

Input​

ParameterDescriptionData Type
FileFile content to attachIResource
ObjectName of the table to which the attachment will be added (for example incident).​string
Object Sys IDSys_id of the record to which the attachment will be added.string

Output​

ParameterDescriptionData Type
Attachment IDSys_id of the created attachment (sys_attachment)string
AttachmentAttachment metadata returned by ServiceNowobject
Note:
  • 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated