- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 06:39 AM
Hello, everyone.
I created an inbound email for the Requested Item (sc_req_item) and it is working OK, but copying all the body language with the original email into the Additional comment and comment not adding to tasks.
Can we get only comment and add comments to relative TASK as well?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 06:58 AM
you are setting it in wrong manner.
it should be this in while loop
obj.comments = "Additional comments copied from the " + current.number + " : " + email.body_text;
obj.update();
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 06:58 AM
you are setting it in wrong manner.
it should be this in while loop
obj.comments = "Additional comments copied from the " + current.number + " : " + email.body_text;
obj.update();
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader