ServiceNow delete attachment action

Use the Delete Attachment action to delete an attachment from a ServiceNow record.

Prerequisites

Ensure that you are authenticated before initiating any ServiceNow action. For more details, see ServiceNow authentication action.

Procedure

  1. From the Actions pane, select ServiceNow > Attachments > Delete Attachment and place it in the canvas.
  2. Specify details in the following fields:
    1. Sys_id: Enter the attachment ID or select the variable where you stored the attachment ID.
    2. The session name displays as Default.

    ServiceNow delete attachment
  3. Click Run to save and run your bot. When the bot is run successfully, your attachment in the ServiceNow record is deleted.