function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Trevor KriegTrevor Krieg 

Count the number of characters to see if its => the character max

Hello,
I am trying to write a formula that counts the number of characters within the HTML body AND find out if its => then the max. Right now I have the start.

LEN([EmailMessage].HtmlBody) >= 44000 

But I cant figure out the other half. What would be the value of the text. I have tried Value(44000), Text(44000) and many other things.

The reason I am needing this is because out emails going into SF are too large and are being cut off but the staff if not realizing this until the customer complains not all of their work was completed. Since we are already at the max of 131.072 characters my idea was to write a process builder that would alert the employee(a visual indicator) that the text body/HTML body has exceeded the max and that they need to look in their outlook to confirm all work has been completed.

Thank you