- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2022 09:54 PM
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!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2022 10:12 PM
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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2022 10:09 PM
Hi SK,
You can use this solution :
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2022 10:11 PM
I have to copy from the email coming to servicenow by inbound action not through the BR as mentioned in the link you provided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2022 10:12 PM
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);