User Name not being displayed in the "Users" Select box in User criteria page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 09:45 PM
Hi,
I'm trying to add a user criteria in which I'm selecting a contact from "vm_Vdr_Contact" in the "Users" Selectbox in the User criteria page. I'm able to find and select the vendor contact using the magnifying glass in the users selectbox. However the name of the contact is not displayed in the selectbox. Only a blank line is seen.(refer the attached pic).
when I inspect the record in the browser developer tool, I can see the value field being populated with the sys_id of the contact. Only name is not being displayed.
I can see that the "vm_Vdr_Contact" table as an ACL for first name and last name fields. But my id has the roles mentioned in the ACL.
I have the following roles admin, vendor_reader.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 10:45 PM
did you check field level READ ACL on name field?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 11:05 PM
Ye. It has an ACL with Venore_contact and vendor_reader roles. My id has "vendor_reader" role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2023 12:02 AM
then use script in user criteria
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 12:08 AM
I found out the issue. The list collector was displaying the preferred name which was empty for the vendor contact record. I have populated the preferred Name field and it is getting displayed now.