- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 09:00 PM
I need to create an inbound email action so that it creates a record in change request table.
Subject - short description of change request.
Body - Description.
Attachments in email - attachments in change request.
Please guide me how to achieve this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 02:34 AM
it should not be twice
small update
GlideSysAttachment.copy('sys_email',sys_email.sys_id,'change_request',current.sys_id);
OR
current.insert();
GlideSysAttachment.copy('sys_email',sys_email.sys_id,'change_request',current.sys_id);
current.update();
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 06:19 AM
Hi,
I used the same code but attachment are getting into email logs but into change ticket.
can you please help me in this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 09:12 PM
Hi there,
I would consider using Flow Designer for this, this is nowadays the first go to.
Anyway, Inbound Action:
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field