Report on Multi-Row Variable Set

Vamsi43
Tera Contributor

Hello

I tried report on MRVS by creating a database view.

I created a MRVS with the questions "Employee Name" (reference to sys_user) and "Salary %" (string). As you can see, for the field "Employee Name", I'm only getting the sys id (as this is saved in the "u_sc_req_item_multi_var" table), not the display value of the User name.

Vamsi43_1-1684920047012.png

 

Can anyone help me on this??

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Vamsi43 

that's because in the backend it stores sysId and not display value

for this you need to use database view

Create a report with RITM Variable Sets and Multi-row Variable Set 

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

Hello @Ankur Bawiskar 

I tried implementing the same solution where i created the database view please check the below screenshot.

It showing sys id. I have a reference variable "Employee Name" which is referring user table not the string field.

Vamsi43_1-1684924653842.png

 

@Vamsi43 

in the link shared is there any other enhancement which they suggested to show display value.

Possibly you might have to include those referenced table as well in database view to get display value

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