Email id is getting truncated even after correction

Ct111
Tera Sage

Hello community members,

 

Has anyone come across issue where emailid gets truncated even after correction?

 

There are few users in our system who have very long name , as a result there userid(which consist) of email is getting truncated , 

 

both email id and userid have length of 151 already on sys_user table, so increasing length might not be the solution.

We do not see import records for 'sys_user' table for those records (long names).

 

Hence, we are confused which particular integration or script is reverting back the changes , the only thing we can see in audit history is updated by "system".

 

Can anybody assist here?

1 ACCEPTED SOLUTION

@Ct111 

just ensure the username is not longer than 40 characters.

Your customer will have to think of something to do this in their AD if user names are long enough as long names will have multiple impact

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Ct111 

it's not recommended to increase the user name field length as it will have impact

Why you should not increase the max length of the User ID field [sys_user.user_name] which is limite... 

Users' attempts to log in fail due to the sys_user table's 40-character user ID or email limit 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ct111 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Ct111
Tera Sage

Do you think there is any solution for this issue?

 

And how to we handle long names in the system then?

@Ct111 

just ensure the username is not longer than 40 characters.

Your customer will have to think of something to do this in their AD if user names are long enough as long names will have multiple impact

If my response helped please mark it correct and close the thread so that it benefits future readers.

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