Catalog reporting: hide some variables values based on your group Memember

ImedCG
Tera Expert

Hello Experts,

 

We have a requirement to hide some catalog item variables on the reporting.

 

We are trying the Role on variable but seems not work because is applied only on variable editor.

 

For example we have "Test" variable should be not visible on the reporting when user is not in the group "Variable group"

 

Any expert can advise?

 

Thanks in advance.

 

 

 

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@ImedCG 

I don't think it's a valid business requirement.

Reporting is to see the content why to hide/remove variables based on group membership?

1 workaround is -> have 2 reports. 1 for that group and 1 for other groups.

1) you might be referring this link or something similar to add variables to report, simply don't add that variable and save the report. Ensure this report is seen only by "Variable Group"

Adding catalog item variables into report? 

2) create another report with all the required variables

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

Thanks for your answer, no is really a business requirement.

Because with UI Policy or client script you can hide the variable in your form but the user who have not seen this variable can get the information by building a simple report, and is not secured!

Best regards/

ImedCG
Tera Expert

ACL on sc_item_option and work fine!

ImedCG_3-1736264976589.png

Report on sc_req_item

 

ImedCG_0-1736264839227.png

Run report:

 

ImedCG_2-1736264923386.png

 

So my suggested solution is working for you?

In that case, please mark my initial reply as the correct answer.