A single reference field that displays records from two different tables

beycos
Tera Contributor

Hello Everyone, 

 

in ServiceNow, is it possible to create a single reference field that displays records from two different tables? I want one reference field that shows both departments and groups as selectable options. Is there any supported way to merge multiple tables into one reference source?

Any guidance would be appreciated.

 

6 REPLIES 6

GlideFather
Tera Patron

Hi @beycos,

 

not possible. A reference field is associated with a table, so unless that table is not extending that it is not possible.

 

What is possible - field referencing to Task - there are selectable records from Task, Incident, RITMs, Problems, Interactions, .... because they are all extending the Task.

 

But if you want one field to reference Location and Department (two different tables), then it is not possible.

_____
100 % GlideFather experience and 0 % generative AI

Dr Atul G- LNG
Tera Patron

No mate, not possible. You can get results by combining two tables as database view but not used in single reference.

*************************************************************************************************************
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]

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

Ankur Bawiskar
Tera Patron

@beycos 

what you are looking for is not feasible

But what's your actual business requirement?

If you let us know we might help better

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Mark Manders
Giga Patron

The only way to do this is to create a custom table (mind your license agreement!!) and add both tables as reference field on that, including a display field that is a combination of both. But you can't reference two tables in one field.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark