UI policy not working in service portal

johnsonjohn
Tera Contributor

Hello, I have a very simple UI policy on a catalog item: if value of A = No , then show field B and make it mandatory (and reverse if false).  It works fine in ESS, but not in Service Portal.  Thanks in advance for any feedback.

5 REPLIES 5

Mike Patel
Tera Sage

Can you check if type is set to all.

find_real_file.png

Hi - I have set this to All but the field is still not taking the mandatory attribute

Allen Andreas
Administrator
Administrator

Hi,

Please navigate to that specific UI Policy, go to Advanced View, Click the Script tab, Check the Run Scripts Box, and for Run scripts in UI type, choose:

find_real_file.png


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi - I have done what you said, but the field is still not taking the "mandatory" attribute.