Attachment Note workflow activity

reference australia Updated Sep 10, 2026 1 min read r_AttachmentNote.md
Raw file servicenow.com

The Attachment Note activity adds an attachment to the current record.

Note: This activity is only available when the workflow runs on a table that extends Task.

This activity allows the use of irregular HTML tags to reference attachments, specifically the [code] tag. Entries in a journal field that use irregular HTML do not work if the glide.ui.allow_deep_html_validation property is true. This property is set to false by default.

Note: Task activities run as the user whose actions complete the task the workflow was waiting for and advances the workflow.

Results

Finished: the activity added the attachment to the record.

Input variables

The following variables determine the behavior of the activity.

Field

Description

General

Field

When this activity runs, it makes a note on the current record that a file has been attached. Specify the field on the current record in which you want this note to appear. The options are:- none (defaults to Work Notes)

  • Additional Comments
  • Work notes

Attachment note information

Attachment Name

When this activity runs, it creates a .txt file with the name you specify in this field.

Attachment Data

The content of the .txt file attachment. It can be in plain text or use variables to extract specific data from a table.

**Parent Topic:**[Task workflow activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-activities/r_TaskActivities.md)
Search documentation
Search document titles and file paths on the australia branch