- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 12:15 AM
What is a reference field in ServiceNow, and how is it used to create relationships between different tables?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 10:17 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 09:04 PM
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:-
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 02:13 AM
Hi Sofvrg
My answer was the first answer of this Thread 🙂
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2024 11:13 PM
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:
Please mark the answer as helpful and correct if helped.
Kind regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 01:15 AM
it might be helpful for you regarding the relationship between tableA and tableB.