Prepopulate field based on User login

Navneet3
Tera Expert

Hi 

I am using the  Auto-populate feature to populate department variable based on user login, which is working correctly.

The issue is, User (without any role in ServiceNow) wants to submit a request on someone else behalf, once the user selects the user, the user DEPARTMENT field does not get prepopulate.

Navneet3_0-1725034682866.png

What could be wrong?

I assigned the user a ITIL role and she was able to select a user and the department was pre-populated.

 

Thank you

 

 

 

1 REPLY 1

Zach Koch
Giga Sage
Giga Sage

What are field type are you using for the Requestor Name field variable? If you use the Requested for variable type, rather than a reference type, Requested for variables honors User Criteria. If this is the case, your user with no roles is not able to see the information from the department table due to ACLs or User Criteria, which is why it isn't populating

This link may help explain the Requested for type vs reference

Hidden Gems: Requested For Variable Type 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!