Catalog UI Policies with the same Order for this field -their run order is not predictable.

KKrabbenhoft
Tera Guru

multiple Catalog UI Policies with the same Order for this field error but my UI Policies are all set to order 100. Reverse if false is not being used in this case. I am setting explicit actions for each variable to either be visible on the form or not visible .If they need to be mandatory this is set to false on all variables that the condition is not met. Yet I am unable to clear the message. 

 

5 REPLIES 5

Martin Ivanov
Giga Sage
Giga Sage

The check is the following - Are the more than one UI policies for the same field, on the same order. If yes - display the message. If not - dont. They don't care what your logic is, they just want to warn you that the behaviours might be unpredictable.

You have two options - to accept the fact and see the message every time OR to move your UI policies on different orders.

Please mark Correct and Helpful if my answer helps you resolve your issue. Thanks!
Martin Ivanov
Community Rising Star 2022


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

Thanks Martin and Sumanth,

You both are correct and those changes worked fine. Thank you again. 

@Karen Krabbenhoft it is a good practice to select a correct answer for your question, the most acurate one. This way, whenever someone looks for a similar thread and finds the current, with the green tickbox, they will scroll down and try the solution that is marked as correct.

Best

Martin


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

SumanthDosapati
Mega Sage
Mega Sage

Hi,

That is expected that if your ui policies has same order then execution order is not predictable.

You need to make sure either your conditions are different or order is different.

 

Mark as correct and helpful if it solved your query.

Regards,
Sumanth