Need to inbound email action script for ticket creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:00 AM
hello everyone,
we need help on inbound email script,
we have requirement that , whenever we received a mail from backup team, we need to look into their emails from last 2 hours , if we found the same attributes values repeats in their email body from last three emails, we need to create incident for the third email, attributes look like this , PFB screenshot, i have written the script to look in to email table but it's not working , anyone please help me that would be great help,
(note - Any one attribute value repeats in three emails also we can consider)
example, in the below screenshot , if location values repeats three times in the last three email, we need to consider to create incident
#inbound #email #script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:18 AM
I will suggest to use Flow as suggested by Mark.
in your existing script what debugging did you do?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 05:03 AM
you can use transform functions and get the value in flow and then store that in flow variable
the use lookup and check the count
How to parse email body text in flow designer inbound email?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader