How to copy body into description in Email Inbound Action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 10:52 PM
I have an inbound action where I need to put the email body into the Incident description field. How can I get it.
I am getting below format in email body and it also contain Hyperlink.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 02:56 AM - edited 09-27-2024 02:58 AM
Hi @Ankit Kumar6 ,
Under 'Actions' tab simply try add the below line in the script similar to where the other fields of incident table getting set in the script.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 12:02 AM - edited 10-03-2024 12:04 AM
Hi @Ankit Kumar6 ,
If you got chance to check the solution provided by me and help you anyways, please mark this helpful or if it addresses your query correctly please Accept as Solution so that it helps the community for other users as well.
Otherwise share if you are facing any challenges there.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 01:40 AM
Sorry Animesh your suggestion doesn't help it print the HTML code in description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 02:18 AM
Hi @Ankit ,
'It should have worked, however, it did not work meaning the email structure from that particular sender is somehow different depending upon the email content type.
Can you please try 'current.description = email.body' if that works for you?
You can have a look at the below KB for more information on email content type.
If you still can't get the email body then I can think of a workaround to use regular expression (regex) to filter the part of the incoming email (HTML format) you are interested in.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das