---
title: "Add ServiceNow attachment.uploaded script action for Ivanti"
canonical: "https://docs.perspectium.com/space/Iodine/1705329/Add%20ServiceNow%20attachment.uploaded%20script%20action%20for%20Ivanti"
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 Ivanti Service Manager.


**Prerequisites**

---

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

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

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

## **Procedure**

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

---

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