How to copy the attachments via Inbound email action into Servicenow Incident table?

Tj14
Tera Contributor

I have a scenario where the attachments on the Incident table should be sent over to the third party via email notifications and I was able to achieve it via email_script.

The main challenge is that if they send an attachment via email to servicenow, how do we copy that attachment into servicenow and associate with its incident opened here. We have an inbound email action defined to read the body of emaiil and reading the data.

1 ACCEPTED SOLUTION

Deepak Ingale1
Mega Sage

It should happen automatically by default.

If not, you can perform current.update() in inbound email actiion.

 

If it still not work, please feel free to use GlideSysAttachment() API using copy() method

 

Note: Please mark reply as correct / helpful if it answers your question

View solution in original post

16 REPLIES 16

Rohit Kaintura
Mega Guru

Have you tried that what i told you?

 

 

Maitri Shah
Tera Contributor

Hello i have a requirement where if i received any reply from a user with attachments regarding the HR case the attachments get attached to the record but now i need to get those attachments and attach them on an other notification can any help me with that ? how can i copy the attachments that are received as an reply in an email and send them as attachments to another notification ?