UI policy on sc_task table

Abhilash Janga1
ServiceNow Employee
ServiceNow Employee

I have created two UI policies on "sc_task" table as follows

1) Name/Short Description = Show Priority for Request Something Else

 Order = 100

When to Run = "Request item.item" is "Request Something Else"

UI policy Action = priority field to make visible

2) Name/Short Description = Show Priority for VMP & SMART

 Order = 100

When to Run = "Request item.item" is "SMART" or "Request item.item" is  "VMP"

UI policy Action = priority field to make visible & read only

 

In this case only the 2nd UI policy is resulting. i.e. Making Priority field visible & read only on 'sc_task' record where 'Request item.item' is 'SMART' or 'VMP'.

But i also want to run 1st UI policy to result Priority field to be visible on 'sc_task' record where 'Request item.item'  is 'Request Something Else'. 

Please if someone can help me with this. Whether it is possible with UI policy or should i go for Client Script?

 

1 ACCEPTED SOLUTION

AMan1997
Tera Guru

Hi,

Please see if the checkbox "Reverse if false" is true on both UI policies. Uncheck it and try again.

Thanks and Regards,

Aman 

 

 

View solution in original post

11 REPLIES 11

AMan1997
Tera Guru

Hi,

Please see if the checkbox "Reverse if false" is true on both UI policies. Uncheck it and try again.

Thanks and Regards,

Aman 

 

 

Refer the sample screenshot:

find_real_file.png

 

Please mark the answer helpful/correct based on impact!

Thanks,

Hi Abhilash,

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Thank you!

Abhilash Janga1
ServiceNow Employee
ServiceNow Employee

its working for the 3 Request item.item but for rest all Request item.item the priority field is visible which is not required. what can be done further?