Argomento precedente: formatStringArgomento successivo: getAttachmentContent


getAllAttachments

La funzione getAllAttachments restituisce le informazioni per tutti gli allegati presenti nel database di CA Process Automation.

Sintassi

vmArrayAttachments = getAllAttachments()

Valore restituito

vmArrayAttachments (C2OvalueArray)

Questa funzione restituisce una matrice che contiene le informazioni seguenti per tutti gli allegati presenti nel database di CA Process Automation:

contentType

Tipo di contenuto dell'allegato.

contentID

ContentID dell'allegato, se presente.

fileURL

URL che può essere utilizzato per visualizzare o scaricare l'allegato.

name

Nome dell'allegato.

attachmentID

ID univoco dell'allegato. Questo ID può essere passato ad altre funzioni di sistema.

Esempio

Process.attachments = getAllAttachments();