Skip to main content

Upload Attachment

Description

This Activity uploads a new attachment into Salesforce and links it to a record.

Properties

Input

  • File Path - The absolute path of the file to attach.
  • Record Id - Id of the object of the attachment.

Misc

  • DisplayName – The display name of the Activity.
  • Private – If selected, the values of variables and arguments supplied will never be logged.

Optional

  • Description – Description of the attachment.
  • Is Private - If true, the attachment uploaded will be restricted access only to the Owner and Administrator.
  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
    note

    Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Output

  • Attachment Id - Salesforce Id of the attachment uploaded.

Example

Upload Attachment

Download Example