Two UI policies on same catalog item are conflicting in Service portal.

kareem11
Kilo Contributor

Hi,

I have two UI policies. One UI policy is on Catalog Item & one more is on Variable set(Same catalog Item).

In catalog Item i have two conditions. In Variable set one condition. Conditions are matching but UI actions are different.

For ex: Payment is 'electronics', condition is matching for both UI policies.

UI policy is   working as expected in ess/servicecatalog, but in Service portal its conflicting. Not working as expected.

Can anyone please give solution for this issue.

Thanks in advance.

3 REPLIES 3

haseena ayesha
Kilo Guru

Hi


Kareem




The Order field on UI Policies is very important to how UI Policy Actions are processed. When two UI Policies contain a UI Policy Action that acts upon the same field - even if they act upon different properties of that field


Please refer bellow links it may be helpful:


Service Catalog UI Policies Not Functioning in Service Portal


ServiceNow KB: Service Catalog UI Policies not working (KB0551679)



Thanks&Regards


Haseena


                                                PS: Hit like, Helpful or Correct depending on the impact of the response


Pranav Bhagat
Kilo Sage

Hi kareem



Actually order is really important ,so set the order.



"Order" field. What does it mean?



No it has different meaning based on the table like i have mentioned but has a relation in ordering things



For a business rule, it is order of its execution ie which business rule to run first


For a variable set or variables, it is the order in which variables are positioned on a catalog item


For a assignment lookup table, it will define which lookup rule should be verified first to assign an incident.




An order on variable set decides on where to position the variables on the catalog item form. Suppose you have 2 variable sets A and B with orders 100 and 200 then variable set A will be displayed on top of variable set B.





For business rule


Order


[Advanced] Sequence in which the business rule should run. If there are multiple rules on a particular activity, the rules run in sequence from the lowest order number to the highest.




For ui policy


Order [Advanced view]


The processing sequence, from lowest to highest number. If two policies conflict, the UI policy with the higher number is executed.



Untitled.png


Thanks


Pranav


Please Hit like, Helpful or Correct depending on the impact of the response


Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hmm.. how are they conflicting? I mean the UI Policy on the catalog item should handle variables that are on the item itself and the policy on the variable set should be for variables in the set..



//Göran