Database view to reference field

ClaireB
Mega Contributor

Hi, 

I'm trying to build a database view from one table (technical service table) to a reference field (PII data) on that table so I can see a many to many list view. 

This is the related list at the bottom of the first table
find_real_file.png

So I want to have a list view of each technical service with each corresponding PII Data name. 

Can anyone help with going about this. 

find_real_file.png

This is what I have so far. But I don't know what the where clause should be? This is my first time doing a database view. I can't find a common field on each of the tables to link in the where clause. Maybe I am doing something wrong. 

Thanks.

1 ACCEPTED SOLUTION

ClaireB
Mega Contributor

I've just realised I might have been looking in the wrong place, and instead created a custom m2m table for what I needed. 

Thanks Ankur anyway for your help!

View solution in original post

11 REPLIES 11

No, that was intentional, as that was the solution to my problem. I have already marked one of yours as helpful. I don't see the option to close the question.

Just to check whether the where clause I shared in my 1st reply helped or not.

Regards
Ankur

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