Attachments not added to incident from inbound email action?

peterraeves
Mega Guru

When we send an email with txt attachment to SNOW, it processes the email in the inbound email actions like below. It finally stops at Create Incident for BULL Monitoring'. Strangely it is reported as 'Skipping', while the incident is actually created as INC1386084, but 'target' is not set. The INC is created, but the attachment is not copied. So 2 unexpected behaviours happen. Any idea why? I assume the attachment is not copied, because the target is not set? But why is the target not set as the INC is created correctly?

Image 2.png

1 ACCEPTED SOLUTION

Exactly what I needed



when creating, I did


      current.insert()



when updating, I did


      current.get(incident.getUniqueValue()); /* add values */ current.update();


View solution in original post

6 REPLIES 6

Deepak Ingale1
Mega Sage

You will need to put current.update() in your inbound email action so that TARGET is not empty.


Exactly what I needed



when creating, I did


      current.insert()



when updating, I did


      current.get(incident.getUniqueValue()); /* add values */ current.update();