

CA Process Automation System Functions › deleteAttachments
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)
-
- This function returns false only if its arguments are an empty array.
- This function throws an exception (that is, the operator fails) if it is unable to delete attachments or if invalid arguments are passed.
- This function returns true if it is able to process the delete attachment request successfully (including the case where the function is unable to delete a few or all of the attachments).
Examples
Process.rglAttachIDs = new Array(1,2,3,4,5);
Process.del = deleteAttachments(Process.rglAttachIDs);
Copyright © 2014 CA.
All rights reserved.
 
|
|