Skip to main content
Skip table of contents

recordAttachment

Adds one or more files represented by the specified Salesforce records as attachments to the generated emailmessage. ContentVersion or Document records may specified for this purpose.

The files attached with this command can also appear linked to the EmailMessage record possibly created bythe parent mail command. However, please note that only attachments defined throughContentVersion records can be linked in this manner.

Parent commands

  • mail
    Required. The file is attached to the email generated by thisparent command.

Attributes

value

Required

Value type

EL-evaluated

Yes

String, Collection

Yes

Defines the file, or files, to be attached. The value is expectedto be either a String specifying the ID of a ContentVersion or Document record, or a Collectioncontaining Strings of that kind.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.