Catalog ui policies not working on RITM and Catalog Task

anjalikulkarni
Kilo Contributor

Hi All,

There is an issue reported, when investigated, got to know that Catalog UI Policies are not working on RITM and Catalog Tasks for other users except admin.

PFB the details

1. We have a variable as var3 which is of type 'Select Box'.

2. A Catalog UI Policy with condition as var3 is one of "selected value", one variable becomes mandatory and visible defined in UI Policy actions

3. This UI Policy is applicable on all three i.e., catalog view, RITM and Catalog Task

4. The variable becomes mandatory and visible on catalog view for all users

5. But, the variable is not seen for other users except admin on RITM and Catalog Task Level views.

PFB the screenshots

ui policy_1.pngui policy_2.png

Thanks in advance,

Anjali

11 REPLIES 11

raves12
Kilo Sage

Try Changing the order of the UI policy to see if it works. UI policies if executed will execute for all and there shoud not be any role based controllability.



If it does not work try debugging UI policies to see if there are any other policies contradicting.



Regards,


Ravi


How do I debug catalog ui policies for variables?


Refer the below link



Video: Service Catalog | How to Debug UI Policies


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

Hi Karthik,



Tried it but din get any outcome as to why there is an issue.


Here is another thing I noticed, something weird. I created a Catalog Client Script to alert the value of var3 using g_form.getValue('variables.var3');



But for admin It alerted the backend value i.e., "ch1" whereas for end users and other users, It alerted the display value.



PFB the screenshots


alert_admin.pngalert_user.png