Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Email Notifications Character Limit Limitation

Joel14
Kilo Contributor

Hi everyone. I've been trying to setup a notification email for one of the catalog items. The problem that I am encountering is that the email message is truncated. I believe this is caused by a character limit restriction. The form is roughly 3.2k characters and it can get as big as 7k characters when it's filled. I tried playing with glide.email.outbound.max_body_bytes and com.glide.email.max_body_bytes to change the size, but even then, the message gets truncated in the same place. I also made sure that their sum is nowhere close to the maximum. Is there anything that I am missing ? The goal is to email the entire request form to a distribution list. An alternate way would be converting that form into an attachment and emailing it but I have no idea how to do that either. Any help would be appreciated.

7 REPLIES 7

Joel14
Kilo Contributor

Thanks for the replies.

@deepak.ingale

 The body of the message is being truncated in servicenow (no errors shown) and on the client side i am receiving exactly what its in the log.

 

@rahulpandey

I have never created one before, so I will need some help with that. If I am not mistaken you mean to create a UI action from the workflow email notification task ?

Hi Joel, A UI action would be a button on which you can click to send email. However you can use this anywhere serverside code is supported and workflow is one of them. Just wrap my code into a script activity of workflow, create a notification script and send the notification. Remember to check include attachment in notification

Joel14
Kilo Contributor

Thanks for all the help, I really appreciate it. I'm pretty much learning as I go.

 

Ok, lets see if I understand everything. 

1. So in the workflow (notification action), I add  your script on the script section

find_real_file.png

 

2. I create an notification email script.

3. Create an email notification with include attachments selected.

4. Test if it works.