Flow Designer - Create Incident - Set LOCATION based on abbreviation in email subject

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 12:55 PM
- I'm working on Flow in Workflow Studio.
- Trigger is inbound email
- The subject line of each email starts with a 3 letter abbreviation that represents a field office locations. The same 3 letter abbreviations are on the cmn_location table as the field "u_loc_abbreviation".
- I want the Flow to Create Incident Record and set the Location field to the cmn_location.name associated with the "u_loc_abbreviation" that gets scraped from the email Subject.
How do I do this efficiently?
Thanks,
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2025 06:42 AM
the format should be consistent for your script to work
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
04-15-2025 05:19 AM
you can use script shared by @Bhavya11
Do let us know the feedback
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
04-29-2025 06:52 AM
Sorry - but why would I credit you for Bhavya11's work? Is this a tactic people use to gain "popularity points" on the community site?