Previous Topic: createResourceObjectNext Topic: deleteObject


deleteAttachments

The deleteAttachments function deletes attachments from the CA Process Automation database given an array of unique IDs.

Syntax

bSuccess = deleteAttachments(AttachmentIDArray)

Arguments

AttachmentIDArray (Array)

Specifies an array of unique IDs. The IDs can be Strings, longs, or integers.

Return Value

bSuccess (Boolean)

Examples

Process.rglAttachIDs = new Array(1,2,3,4,5);
Process.del = deleteAttachments(Process.rglAttachIDs);