During search, dropdown shows the same user name multiple times
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 04:57 AM
We recently migrated to ServiceNow to handle our ticket system.
When creating a new list in the Service Operation WS, in the filter, the user field only allows user name and not UserID or ID#. So, when I type in a name, it will display a list to choose from. Problem is if there are multiple occurrences of the same name, I have no idea which one is the right one.
For example,
if I type in John Smith, I will get a long list of "John Smith" to choose from but no idea which one is the right "John Smith".
If I type in the UserID or ID#, I will get an "No results found" error.
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 05:50 AM
Hi @row19dash
You can add Attributes to the caller field dictionary to show more fields like user_name as below screenshot when searching
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true,ref_ac_order_by=name
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 05:52 AM
Hi,
If in user table multiple employee are present with same name then it will appear all record with same name. To differentiate you can configure list and bring email id along with name.
Accept the solution if it help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 06:05 AM
I like to forward your suggestion to my ServiceNow team.
Can you give me a suggested method to display the name and another field like UserID or ID#?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 06:14 AM
This works too and It affects globally for every user refernce list, but user have to click on the search icon every time which doesn't make it user friendly
To configure this we have to modify the sys_ref_list of User Table.
Steps Below:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0686318
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP