The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Service Catalog UI Policies Not Functioning in Service Portal

Marques2
Tera Expert

Helsinki and Service Portal Users,

It's extremely disappointing to see that simple UI policies in the Service Catalog are not functioning as expected in the Service Portal. The UI Policy Actions I'm using are to simply make variables visible and mandatory when the condition of another variable is met.

I found another thread that was similar to mine and someone explained that the fix is to set a condition that states "Run scripts in UI type" is "Both". Unfortunately this did not fix the issue. Are others experiencing this? If so, is there a solution?

We've built many catalog items with dependent variables and they are not functioning in the Service Portal. This can push our Go Live date back if a solution cannot be found. Please reach out if you have any ideas!

Any help is appreciated,


Thank you all!

-Marques

8 REPLIES 8

Not tried this on Helsiki, but in Fuji to hide the container I use g_form.setDisplay('container_start_name',false);


Would that not work instead ?


Inactive_Use167
Mega Expert

Hey Marques,



I have a similar issue. Catalog UI policies are not working onLoad but they are working onChange. I have made onLoad check box to true, But, I still have this issue.



I have also tried in the same way as Brad suggested (made Run scripts in ui type = True) But it couldn't solve the issue.



Have you found any solution for this issue. If yes, please share.



Thanks



jayr
Tera Contributor

Hi all,



We're experiencing a related issue.   We have about 53 containers, and there's multiple UI Policies in place to show/hide containers and variables.


In ServiceNow, they all work fine, but on the portal none of the UI Policies work.   I'm starting to think this might be because we're trying to hide containers? Is this not supported in Service Portal? (The UI Policies do not have Scripts, just UI Policy Actions)



P.S. I tried adding a new UI Policy to hide a single variable and it worked fine.



Thanks in advance!


Hey Jay,


I too faced the same issue.


Please go by the PROBLEM Number "PRB688345" in the following link :


https://docs.servicenow.com/bundle/helsinki-release-notes/page/release-notes/r_Helsinki-Patch-3.html


Check in stats.do for version of the instance .Currently i am using ---> "Build tag: glide-helsinki-03-16-2016__patch0-hotfix1-05-16-2016" version and ideally this issue should be fixed the   instance is upgraded to patch3



P.S : Do like or mark correct if you found my answer appropriate.