Issue with Decision Table Handling Email Headers Exceeding 8000 Characters

shital7
Tera Contributor

Hi All,

I’ve designed a decision table to evaluate certain conditions based on the email headers received in sys_email. The Headers field in sys_email is an OOB string field with a maximum length of 8000 characters. I replicated this configuration for the decision table input so that it would accept the same header value.

 

However, we observed that ServiceNow receives email headers that exceed 8000 characters, even though the dictionary entry is set to a limit of 8000. It appears that the decision table input is not behaving the same way as the dictionary definition for the sys_email header field, which causes it to fail.

 

When I changed the decision table input type from String to String (Full UTF‑8)—keeping the same character length—the decision table successfully accepted header values exceeding 8000 characters.

Can anyone explain why this behavior occurs?

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@shital7 

that's OOTB behavior

this link explains

https://community.servicenow.com/community?id=community_question&sys_id=b804c7e5dbd8dbc01dcaf3231f96...

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron

 

“It is, but it’s just design, mate.”

 

https://www.servicenow.com/docs/r/platform-administration/r_FieldTypes.html

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************