Enhance search of variable on service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2025 10:18 PM
Hello,
We have reference variable to user table in catalog item. We want to configure functionality to enhance the search for the variable so that if a last name is entered, the user will come up.
Currently we have functionality when user is searched only when first name is entered.
Can we make it for last name also?
Any suggestions?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2025 11:31 PM
Hi @Community Alums
You can add an attribute in the variable definition to search by the last name as well. Give last_name as the value for the attribute ref_ac_columns. [Change the fields after ref_ac_columns to whatever fields you want on the User table.]
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************