Scoped GlideSysAttachment - copy(String sourceTable, String sourceID, String targetTable, String targetID)

Copies attachments from the source record to the target record.

Table 1. Parameters
Name Type Description
sourceTable String Name of the table with the attachments to be copied.
sourceID String The source table's sysID.
targetTable String Name of the table to have the attachments added.
targetID String The target table's sysID.
Table 2. Returns
Type Description
String Array of sysIDs of the attachments that were copied.