Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

To get Variables and MRVS variables in reports

shobhan
Tera Contributor

Have a scenario where need to fetch the Variables and Multi Row Variables of a particular catalog item in reports.

 

8 REPLIES 8

You can add few more tables in your current Database view. you should be good to retrieve expected result. 

 

M2M table to request item
sc_item_option_mtom.request_item = sc_req_item.sys_id

M2M table to variable
sc_item_option_mtom.sc_item_option = sc_item_option.sys_id

 

 

Reporting on Catalog item variables - ServiceNow Community

I have tried  help me to how to write the M2M table in with database i have created.

the below screenshot attached just gives the MRVS but not all variables

shobhan_1-1720432327872.png

 

 

salma98
Tera Contributor

Hi Shobhan,

 

Please refer to the below video and let me know if you have any questions.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Salma

 

 

shobhan
Tera Contributor

This gets only the variables but not all MRVS