Why the UI Policy Action's Mandatory field is grayed out?

Runel
Tera Expert

The field I'm trying to make mandatory is a reference field in the dmn_demand table and is set as the display in the source table.  The UI Policy was created in the applicable scope.  The UI Policy Action shows the field as a Folder and when the Folder is selected, the Mandatory field is grayed out.  Is there a way to make this field mandatory?

4 REPLIES 4

Saadiii
Tera Contributor

You can create a client script - onChange / On Load.
g_form.setMandatory('field Name', true);
If my Answer helps you , Please mark it as helpful and solution.

Hi @Saadiii,

 

I tried that and it did not work. Thanks!

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Runel 

Please check what type of field it is in the Demand table. The UI policy might not have worked on that.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Runel
Tera Expert

Hi @Dr Atul G- LNG,

 

The field is a reference field in the Demand table.