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

Uncle Rob
Kilo Patron

If you don't know what reference fields are, you probably need to get up to speed on what Relational Databases are in the first place.  Knowing what the field does is only part of the picture.  You need the FULL picture if you want to be working with data structure, which you most assuredly will in a ServiceNow career.

For only 7 minutes in length, this video does a great job of explaining the basics
https://www.youtube.com/watch?v=OqjJjpjDRLc

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]

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

Harish Bainsla
Tera Sage
Tera Sage

Hi @Sofvrg 

A reference field stores a reference to a field on another table. For example, the Caller field on the Incident table is a reference to the User [sys_user] table. When you define a reference field, the system creates a relationship between the two tables.

to understand more check below link

https://www.servicenow.com/community/developer-forum/what-is-the-difference-between-reference-refere....

if my answer helps you mark helpful and accept solution