Copy the reply email which is triggering creation of new HR case

Arka Banerjee
Kilo Guru

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.

 

@Ankur Bawiskar 

 

ArkaBanerjee_1-1754633631332.pngArkaBanerjee_2-1754633813152.png

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Arka Banerjee 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Arka Banerjee 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader