---
title: "Add ServiceNow attachment.uploaded script action for Autotask"
canonical: "https://docs.perspectium.com/space/helium/2122653/Add%20ServiceNow%20attachment.uploaded%20script%20action%20for%20Autotask"
format: markdown
---
ServiceNow script actions are server-side scripts triggered by events that can modify configuration items in your instance. The script action that you will need to add will create a [ServiceNow outbound message](https://docs-perspectium.atlassian.net/wiki/spaces/gold/pages/1279070) for any incident records that have attachment data included, thus ensuring that any attachments you have created in ServiceNow are successfully shared out to **Autotask**.


**Prerequisites**

---

:warning: First, you will need to [create a ServiceNow dynamic share for Autotask](https://docs-perspectium.atlassian.net/wiki/spaces/helium/pages/2122645).

:warning: You will also need to [create a ServiceNow subscribed queue and subscribe for Autotask](https://docs-perspectium.atlassian.net/wiki/spaces/helium/pages/2122647) and [edit ServiceNow outbound table map fields for Autotask](https://docs-perspectium.atlassian.net/wiki/spaces/helium/pages/2122649).

:warning: Lastly, you will need to [add and edit ServiceNow transform map scripts for Autotask](https://docs-perspectium.atlassian.net/wiki/spaces/helium/pages/2122651).

## **Procedure**

To add a ServiceNow attachment.uploaded script action for Autotask, follow these steps:

---

> Macro (ui-steps)
> 
> > Macro (legacy-content)
> 
> > Macro (legacy-content)