save attachment in change after receiving email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 11:13 PM
Hello,
An email is sent to a supplier from an existing change. In response, the supplier sends an order confirmation as an attachment. We want to immediately include this as an attachment in that change. Should we arrange this in an inbound email action and if so how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:49 AM
If the system knows which record you are talking about, you can automatically update the record with that email and the attachment should be there by default.
I've done similar things in the past where I had to either move the attachment or copy the attachment to the in your case change record.
https://developer.servicenow.com/dev.do#!/reference/api/vancouver/server_legacy/GlideSysAttachmentGl...
So there should be an inbound email action higher up in the order with the target table change_request that will receive that email and will just add it the current record. If it's not recognized you have to do it manually.
Hope that helps.