Add a error message on send buttton of email client popup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 12:43 AM
Hi,
I have a requirement to add a error message on email client popup, that comes up when fulfillers try to send the mail from ServiceNow,
As per the ServiceNow property the outbound email size should not exceed 25 MB. So I want to add a error message on the send button of email client popup so that if fulfiller try to send the attachment of size greater then 25 MB the confirmation message pops up.
I found this article but It's not working for me -
https://www.servicenow.com/community/developer-forum/send-button-on-email-client/m-p/1546013/page/1
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 12:59 AM
what's the error if you use that solution?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 02:40 AM - edited 10-20-2023 06:04 AM
Hi @Ankur Bawiskar ,
Thanks for the quick response. I created the same UI script and try to add the logs as well but I think the UI script is not running when I click on the send button.
If you have another approach to achieve this then please let me know.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 02:49 AM
UI script is client side so logs won't work, alert will work
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2023 02:59 AM