Reference field

Sofvrg
Tera Contributor

What is a reference field in ServiceNow, and how is it used to create relationships between different tables?

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sofvrg 

 

The reference field is one which you use in your table but that exits in another table. Like we have a caller field on the Inc table, which is a reference to the sys user table. Reference fields are like relative in family they are not staying with you but they are available when you need them.

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

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

View solution in original post

7 REPLIES 7

Nikhil Bajaj9
Giga Sage

Hi,

 

When you wan to pick data of any table in any other table for ex:- you want to pick existing users in Incident table (Caller field) than you need to create a variable of Reference type (Mean you will refer any table and get the data from that table) and this reference type variable will look like Lookup on  the forms. As you will be referring any table so that table will be called referenced table and the table where you created this reference variable will be called referencing table. In this way , reference field will create relationship among tables. Further details can be found here:-

https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/field-administ...

 

Regards,

Nikhil Bajaj

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

Hi  Sofvrg

 

My answer was the first answer of this Thread  🙂

 

Regards,

Nikhil Bajaj

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Sofvrg 

Reference field is a field which references the Table.

Reference fields are similar to choice fields, but instead of offering a static set of local options, the values are referenced from other Table.

Example: Caller field on Incident. (Which holds the Caller value from Sys_user table)

 

Refer:

https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/field-administ...

Please mark the answer as helpful and correct if helped.

Kind regards,

Ravi Chandra 

 

Satoshi Abe
Mega Sage

@Sofvrg 

it might be helpful for you regarding the relationship between tableA and tableB.

https://www.servicenow.com/community/sysadmin-forum/insert-a-field-from-another-table-to-another-tab...