Catalog Task UI Policy

amacqueen
Mega Guru

I'm having a h****ell of a time getting a UI policy to work on a Catalog Task form. All I want to do is hide a field and I've tried every combination of dot walking I can think of to get the right field and action. Spent 2 hours on it so far!!

 

From the description field on the Catalog Task I want to make description is equal to something. The field from the Task record is:-

 

find_real_file.png

 

and I've currently got it set to:-

Parent.CatalogueTask.Request item.Description

 

I've then got the action to make the field visible as

request item.u_myfieldname Visible is True

 

Any ideas what I'm doing wrong otherwise I'm probably just going to live with it

1 ACCEPTED SOLUTION

marcguy
ServiceNow Employee
ServiceNow Employee

Hi Angus, I don't think you can dotwalk like that in UI policies only if the field you are referring to is actually on the form (because it's client side), so all you can do really is use a client script to look it up do it or else adding it to the form itself.



Marc


View solution in original post

2 REPLIES 2

marcguy
ServiceNow Employee
ServiceNow Employee

Hi Angus, I don't think you can dotwalk like that in UI policies only if the field you are referring to is actually on the form (because it's client side), so all you can do really is use a client script to look it up do it or else adding it to the form itself.



Marc


Many thanks Mark. Makes a lot of sense.



I'll have another play.