Join asmt metric result table with sc req item table Database View

Shivani_singh
Tera Contributor

Hi All,

I want to join tables asmt_metric_result and sc_req_item to create a database views.
Aim is to get field value from RITM for each survey.

 
1 ACCEPTED SOLUTION

@Shivani_singh 

try this, but please enhance if that doesn't work

I believe I have answered all your questions.

You can mark multiple responses as correct as per new community feature. So please do the same.

AnkurBawiskar_1-1747319240222.png

 

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

21 REPLIES 21

shantanu_patel8
Mega Guru

Hi @Shivani_singh 

 

Looks like you have configured survey for requested Items. To achieve this functionality you can follow these steps:

 

1. Create a database view with Name as per your business requirement.

2. Create view tables for asmt_metric_result and sc_req_item as shown in the screenshot below:

 

shantanu_patel8_0-1747306225165.png

Please mark the answer helpful and correct if it resolves the issue. Happy scripting 

shantanu_patel8_1-1747306243446.png

 

 

-Shantanu

Hi @shantanu_patel8 
Values are not coming the table.

Check if you have data in asmt_metric_result table and the source field contains the sc_req_item values.

@shantanu_patel8 
yes ,it contains.