The getAttachmentContent function retrieves the content from an attachment and places it in a CA Process Automation dataset variable. This function has a 64KB limit to the size of the content it can retrieve.
Syntax
sAttachment = getAttachmentContent(lAttachmentID)
Arguments
The unique ID that identifies the attachment where the content resides that is being retrieved.
Return Value
The content is returned as a C2OString.(com.optinuity.c2o.bean.C2OString).
Example
var i = Process.attachments[0].attachmentID; Process.cont = getAttachmentContent(i);
|
Copyright © 2014 CA.
All rights reserved.
|
|