How to create relationship between 3 tables ?

Servicenow lear
Tera Contributor

We have a requirement to have 3 tables data visible as a related list.

How to achieve this ?

3 REPLIES 3

AndersBGS
Tera Patron
Tera Patron

Hi @Servicenow lear ,

 

if you would like the three table combined and showed as a related list, you should first create a database view to combine the three tables. Afterwards go to relationship and create the relationship between the parent table and the new database view. Post these activities, you can add the related list on the form.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi AndersBGS  

 

I have created database view for 3 tables, but while creating relationship what to write in query..? Can you please provide example.?

 

Hi @Abhilasha5 

 

Go to the relationship table and explore what is already there OOTB. This will be the easiest to actually learn what to write in the query. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/