Copy the reply email which is triggering creation of new HR case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2025 11:17 PM - edited 08-07-2025 11:19 PM
Hi,
We have an inbound email action of reply type, where we have configured it so as to create a new HR child case whenever an email reply is sent on the original HR case if the original case is in closed state.
The reply email is captured in email received section on the original HR case, but the customer wants that same email to be captured on the child case as well. Can you please help achieve this.
PFB mail on original mail and inbound script for new case creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2025 11:26 PM
that email body must be getting populated in work notes or comments.
use the same logic to set the comments/work notes in new case
childCase.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
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
2 weeks ago
Hope you are doing good.
Did my reply answer your question?
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