Fetch email address from Compose Email page and Validate with User ID field on sys_user table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
I have a requirement to validate the email addresses we put on the compose email page from HR cases. Once the agent sends email, I want to fetch the email addresses and validate them with the User ID field on the sys_user table as this field contains the correct addresses. I want to send emails only if the data matches with User ID field, else abort sending. We can allow partial sending of emails for correct addresses.
Thanks,
Rahul
@ankurbawisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
19 hours ago
adding validation using business rule should be much easier as compared to making changes in UI builder.
You need to understand how that Compose Email page works and then handle the validation.
Yes it will have some performance impact but if you narrow down based on the target table in sys_email it won't have that much impact.
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
16 hours ago
I believe I have shared answer to your question and you can enhance it further based on your requirement and developer skills.
💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader