Help with UI Policy

Abhijit Das7
Tera Expert

Hi Everyone,

I have created UI Policy to make certain fields mandatory, but those fields are not getting mandatory. I added script in UI policy with alert. I can see the alert in Classic UI but not in csm/fsm configurable workspace.

 

Thanks in advance

1 ACCEPTED SOLUTION

Tanushree Maiti
Tera Patron

Hi @Abhijit Das7 

 

1. Ensure your UI policy's View has been selected as Workspace.

 

Sample screen shot:

TanushreeMaiti_0-1791520041022.png

 

2. Also you can try with UI builder.

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

4 REPLIES 4

OlaN
Tera Sage

Hi,

I believe the scripting part is what makes it fail.

The scripts are not supported in workspaces. They rely only on the no-code solutions of UI policies.
Can you make the same thing using only UI policy actions instead?

Ankur Bawiskar
Tera Patron

@Abhijit Das7 

check point mentioned by @OlaN 

also check any other UI policy with higher order is doing the reverse.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Tanushree Maiti
Tera Patron

Hi @Abhijit Das7 

 

1. Ensure your UI policy's View has been selected as Workspace.

 

Sample screen shot:

TanushreeMaiti_0-1791520041022.png

 

2. Also you can try with UI builder.

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Aditya_hublikar
Giga Sage

Hello @Abhijit Das7 ,

 

Please check its order , may be  any other ui policy will over ride it .Also check global checkbox is checked or not to see its applied globally or not.

 

Aditya_hublikar_0-1791529113696.png