Previous Topic: formatStringNext Topic: getAttachmentContent


getAllAttachments

The getAllAttachments function returns information for all attachments that are present in the CA Process Automation database.

Syntax

vmArrayAttachments = getAllAttachments()

Return Value

vmArrayAttachments (C2OvalueArray)

This function returns an array containing the following information for all attachments that are present in the CA Process Automation database:

contentType

Attachment content type.

contentID

Attachment contentID, if present.

fileURL

URL that can be used to view or download the attachment.

name

Name of the attachment.

attachmentID

Unique ID for this attachment. This ID can be passed to other system functions.

Example

Process.attachments = getAllAttachments();