CData Python Connector for ServiceNow

Build 25.0.9454

DownloadAttachment

Downloads a file attachment from a specified record.

Input

Name Type Required Description
SysId String True Specifies the system identifier (sys_id) of the attachment file to download from the ServiceNow record.
LocalPath String False Defines the full local file path where the downloaded attachment should be saved on disk.

Result Set Columns

Name Type Description
Success String Indicates whether the attachment download operation completed successfully and the file was retrieved without errors.
FileData String Returns the attachment file content encoded in Base64 when both LocalPath and FileStream inputs are not provided.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454