Catalog ui policies not working on RITM and Catalog Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2017 11:25 PM
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
Thanks in advance,
Anjali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2017 11:49 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 12:16 AM
How do I debug catalog ui policies for variables?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 12:17 AM
Refer the below link
Video: Service Catalog | How to Debug UI Policies
ServiceNow Commnunity MVP -2018 class.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 01:36 AM
Hi Karthik,
Tried it but din get any outcome as to why there is an issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2017 02:00 AM
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