A UI Policy has prevented you from making changes

Diorella Angulo
Tera Expert

Hi,

I'm getting the following error when I try to change the Due Date from Visual Task Board. I found the following solution on Now Support https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0821210 but I can't find what is the UI Policy that is blocking me to do the change. I want to inactivate it. 

 

This is the field I want to change from the Visual Task Board. It is happening only for certain SCTASKs, so I want to know the reason.

find_real_file.png

This is the error message I'm getting from the Catalog Task.

find_real_file.png

 

Can someone guide me how to find that UI Policy?

Thanks,

11 REPLIES 11

Hi,

 

You may find that there is a UI policy on the parent table.

For example, the ui policy won't be on the sc_task table but might be on the task table.

 

Thanks

 

Jake

Hi

Maybe it is easiest, to find your custom UI Policies and deactivate (all of) them - ON A DEV INSTANCE OF COURSE.

Then try if the error disappears. If yes, re-activate one UI Policy and try again.

Repeat that step with the previously de-activated UI Policies, until you see the error again. Then you know which one causes the error.

Let me know if you were able to figure out.

BR

Dirk

Saurav11
Kilo Patron
Kilo Patron

Hello,

This issue does occur due to Due date, but it can occur due to different reasons.

In you case you said it in catalog task table, so just go to the catalog task table and check fi there are any Ui policy because of which it has occurred.

Focus on the Custom Ui policy created by you or your team on Catalog task table.

Please mark answer correct/helpful based on Impact

 

Hello,

Yes, I have seen this error occurring due to different reasons.

I went to a record in a catalog task table and checked the UI Policies our team has created and there are no policies regarding this issue.

Do you know how to do this?

Note: [You need find the failing UI Policy by following the Debug UI Policy steps and enabling the Javascript debugger]

I see this from here https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0821210

Hello

Use the Application Navigator to open System Diagnostics > Script Debugger

Once the debugger is on do the same action to get the error and you will be able to see which ui policies ran

Also just to clarify the error message is system generated and occurs when there is an issue with ui policies 

So you cannot find the error message in ui policies

Please mark answer correct/helpful based on impact