We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Add multiple fields that references same table and record but display differrent field value

shun6
Giga Sage

Hi all,

 

I add User Company field(references sys_user) on User Role[sys_user_has_role] table.

User role already have User field which references Use[sys_user] table.

In this case Is it possible to display differrent field value on each field ?

ex.) both fields references same record but User field display user's name, User Company display user's company

 

2 REPLIES 2

Adrian Ubeda
Mega Sage

Hello @shun6 ,

 

Only one field can be the display value of one table. I'm afraid with reference field you are not going to be able to do that.

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/field-admini...

Yo can create a custom field and the show what you need, but should be something out from OOTB.

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

Dr Atul G- LNG
Tera Patron

HI @shun6 

 

try to do dotwalk to company for 1 field and for another user name.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************