How to create a relationship between 2 related lists?

thrsdy1512
Tera Expert

I want to create a relationship between two related lists. 

On Change records there is a related list which displays all approvers for the record, including business owners. I have created a new related list which will only show the Business Owner approval for the CI item that the change request relates to. How can I achieve this? 

 

Or alternatively, is there a better way to achieve this outcome?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@thrsdy1512 

you can create a new defined relationship.

Applies to Table - Change Request

Queries from - Approval

Script:

// get the approvers for this CHG

// get the CI for this CHG

// how are you determining the approver with CI?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@thrsdy1512 

you can create a new defined relationship.

Applies to Table - Change Request

Queries from - Approval

Script:

// get the approvers for this CHG

// get the CI for this CHG

// how are you determining the approver with CI?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

This worked, thanks! Do you know if there is a way i can display the impacted CI information in this related list too?

@thrsdy1512 

the related list shows Approvers then it can't show CI as the table is different.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader