We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to copy the email body in the interaction worknotes?

SK41
Giga Guru

Hi,

I want to copy all the text in the email body to the worknotes and transcript field in interaction. This email coming to servicenow via inbound creates the interaction and i want to copy the email body to worknotes and transcript.

Please help me in achieveing it.

Thanks!

1 ACCEPTED SOLUTION

Sai Kumar B
Mega Sage

Hi Author,

You can use the below line of code in the inbound action script to copy the email body to interaction work notes

current.setValue('work_notes', 'reply from: ' + email.origemail + '\n\n' + email.body_text);

 

View solution in original post

3 REPLIES 3

Not applicable

Hi SK,

You can use this solution :

https://community.servicenow.com/community?id=community_question&sys_id=7098c721db5cdbc01dcaf3231f96...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

I have to copy from the email coming to servicenow by inbound action not through the BR as mentioned in the link you provided.

Sai Kumar B
Mega Sage

Hi Author,

You can use the below line of code in the inbound action script to copy the email body to interaction work notes

current.setValue('work_notes', 'reply from: ' + email.origemail + '\n\n' + email.body_text);