Write content to record as attachment activity

This activity writes the content passed in from an input and creates a designated attachment to a given record.

The Write content to record as attachment activity can be used with any workflow to write content and attach it to a record.

Input variables

Input variables determine the initial behavior of the activity.

Table 1. Input variables
Variable Description
tablename [string] The table name for the record. This input field is mandatory.
sysid [string] The system identifier (sys_id) of a task record. This input field is mandatory.
payload The plain text content to be written as an attachment. This input field is mandatory.
filename The attachment file name.

Output variables

The output variables contain data that can be used in subsequent activities.

Table 2. Output variables
Variable Description
result [string] Indicates whether the update was successful.