JDBC Driver for ServiceNow

Build 22.0.8479

DownloadAttachment

Download a file attachment from a specific record.

Input

Name Type Required Accepts Output Streams Description
SysId String True False Sys_id of the attachment file.
LocalPath String False False The local file path for the location where the file will be saved on disk.
FileStream String False True An instance of an output stream where file data is written to. Only used if LocalPath is not set.

Result Set Columns

Name Type Description
Success String Whether or not the stored procedure was successful.
FileData String File data that will be outputted encoded in BASE64 if the LocalPath and FileStream inputs are empty.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479