Attachment operations in scripts
To access the attachment operations, the selected Object Type for the script must be Attachment. The task object can be available for Attachment scripts that are started by a task attachment rule.
The object contains the attachment data and helper method, including the following. The
attachment data contains only attachment fields and metadata; it does not contain the attachment
content.
- content_type
- created
- creator_id
- name
- size
- getParentObject(), a helper method that returns the incident or task script object that owns this attachment.
Type attachment. in the script line to see the available operations.