- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:47 PM
Hello all ,
Requirement : When ever we will send mail from outlook to ServiceNow below activities need to perform .
1. This mail need to be attached as a "Attachment" to the particular closed incident
2. Mail body content need to updated in the work notes for that incident .
Could any one please suggest me the solution for this requirement .
Thanks!
Regards,
Venkata
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 10:26 PM
Hello @Venkata Subbam1 ,
Create an inbound email action with Target table as "incident" and Action type as "Record Action" with below script under Actions tab
If it helps, Kindly click on "Helpful" and mark it as Accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 09:43 PM
For your 1st question:
1. You can use flow Designer to process the inbound email.
2. Use the flow designer to generate a file.
3. Copy your inbound email content to the file.
4. Attach that email as attachment to the incident.
There is a article written for this - https://community.servicenow.com/community?id=community_article&sys_id=1fb58dbbdb74d9102dc24f7813961... as there is no OOB way to generate a file.
For the 2nd question:
You can simply use the trigger inbound email data pill to get body of that email and update the worknotes.
If you feel this has helped you a bit, you may mark the answer as helpful or accept it as a solution.
Regards,
Pranav Thanedar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 10:26 PM
Hello @Venkata Subbam1 ,
Create an inbound email action with Target table as "incident" and Action type as "Record Action" with below script under Actions tab
If it helps, Kindly click on "Helpful" and mark it as Accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 08:03 AM
Hi Siva Krishana,
Thank you for your response,
I have used your script and when ever i am trying to test it email body is coming to sys_email table but in incident form no work notes are updated. And sys_email table target is showing like empty .
Please help to achieve this requirement.
Thanks!
Regards,
Venkata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 08:26 AM
Hello @Venkata Subbam1 ,
Please share the email logs and also check whether any flow or inbound action stops processing other inbound actions