Astik Thombare
Tera Sage

Hi @VikramM1 ,

 

You can create a relationship between two tables by creating a reference field on your custom table and point it to another table this is a basic relationship which allow the relation between two tables.

 

Please Follow Example -

 

I have created two Tables - Table A and Table B

 

Table A-

AstikThombare_0-1713071685142.png

 

Table B -

 

AstikThombare_1-1713071742790.png

 

Then I have create one field on Table A (Reference to B ) that is referencing to table B

 

 

AstikThombare_2-1713071832076.png

 

Once this is done we need to create relationship between these two tables 

 

Navigate to System Definition -> Relationship 

 

AstikThombare_3-1713071947701.png

 

In Relationship we need create relationship between these two tables 

 

AstikThombare_4-1713072024890.png

 

to know more how to create relationship follow link -https://www.servicenowelite.com/blog/2014/2/6/show-attachments-related-lists

 

Once this is done we need to add related list to table A 

 

Right click on Table A form -> Configure -> Related List 

 

AstikThombare_5-1713072141266.png

Add Related list to table A that we have created 

 

AstikThombare_6-1713072230827.png

AstikThombare_7-1713072267082.png

 

Once that is done you are able to see related list at the bottom of Table A and you will able to create new record for table B using that related list 

 

 

AstikThombare_8-1713072372256.png

 

 

 

 

 

Thanks,

Astik