Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Long UserID

Diego Zuniga
Tera Contributor

We currently have a user with a very long User ID, which is causing an issue when uploading files through the Attachment widget in Catalog Items.

The user's User ID is:

name1name2.lastname1lastname2@email.com

Due to its length, the system does not allow attachments to be added.

However, I cannot modify the User ID because doing so would impact the user's access to the environment and could also affect SSO authentication.

What options do I have to resolve this issue without changing the User ID?

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @Diego Zuniga ,

 

 

For one of our clients, we faced the same issue because the domain name was long. As a result, when the user ID was also long, it got truncated.

To address this, we increased the user ID field length from 40 to 80 characters (if I recall correctly). In our case, this change did not affect SSO.

You may want to test this in your sandbox once to confirm it works as expected.

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

radha050903
Tera Contributor

Hello @Diego Zuniga ,

Yes, this can happen because (sys_user.user_name) is a String field with a fixed maximum length. If the user's email ID exceeds that limit, which cause issues.

You can increase the Maximum Length of the user_name field by navigating to System Definition → Dictionary (sys_dictionary), searching for the user_name field on the sys_user table, updating the Maximum Length (for example, from 40 to 80), and then testing the attachment upload.

I strongly recommend validating this change .