Email Flow Designer Trigger Set to lowercase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2020 08:59 AM
Hello,
I would like to know how to lowercase recipients for email trigger on flow so we do not have to put 2 or conditions. IE ABC@123.com OR abc@123.com. I see string transforms on the actions but not the triggers.
- Labels:
-
flow designer
- 1,866 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2020 08:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 05:25 AM
Hi @Chad Wilhelm1, in order to make the inbound emails case insensitive, we can create a before insert BR on the sys_email table to make the email to lowercase before it is processed by ServiceNow.
Using the BR, the inbound email will first be converted to lowercase and then the corresponding record will either be created or updated depending on your flow.
Please mark my answer correct if you find it useful.
Thanks & Regards
Mayank Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 10:04 AM
If you are using flow designer to fill the role of inbound actions, the flow trigger looks at the 'To' field (system name 'direct').
To cover both scenarios use
(function executeRule(current, previous /*null when async*/) {
current.setValue('recipients' , current.recipients.getValue().toLowerCase());
current.setValue('direct' , current.direct.getValue().toLowerCase());
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 10:06 AM
If you are using flows to fill the role of inbound actions, the trigger will look at the 'To' field (system name 'direct'), so to cover both fields where the address is held, use:
(function executeRule(current, previous /*null when async*/) {
current.setValue('recipients' , current.recipients.getValue().toLowerCase());
current.setValue('direct' , current.direct.getValue().toLowerCase());
})(current, previous);