UI Policy order

huyjor
Tera Contributor

Hello Team 

 

I'm getting this error below relates to UI policies on order. This is not on Catalog item. This is on the table platform. There is no order field that you can set. How do you know which one runs first. Thanks 

huyjor_0-1709227507140.png

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @huyjor 

Check the UI policy mentioned in screenshot.

*************************************************************************************************************
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]

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

Sandeep Rajput
Tera Patron
Tera Patron

@huyjor UI Policy form does have an order field. Your UI Policy form might not have order field added on your form layout which might be giving you an impression that there is no order field on the UI Policy form.

 

Add the order field in list and form layout and set their order appropriately. Once done the error will go away.

 

Screenshot 2024-02-29 at 11.23.43 PM.pngScreenshot 2024-02-29 at 11.24.17 PM.png

Gabriel MF
ServiceNow Employee
ServiceNow Employee

As @Sandeep Rajput said, you might not seeing the Order of the UI Policy form. The problem having more than one UI Policy with the same number order is that one policy might interfere in another because you cannot say which one will execute first. 

 

You can edit the form and add the Order field so you can control which UI policy will execute and in which order.