The CreatorCon Call for Content is officially open! Get started here.

UI Policy not working on Catalog Task's Requested_for field which is extended from Request table.

Meenal Gharat
Tera Guru

Hi All,

How can I make Requested_for field editable on Catalog task?

Requested_for field is extended from Request table which is editable on Request table I want to make it editable on Catalog task.

PS : Checked Dictionary and Read Only is unchecked.

Also, checked UI policy and client script on Catalog task and No conflicts I can see.

 

What can be the possible errors ?

 

Thanks and Regards,

Meenal

1 ACCEPTED SOLUTION

Hi,

Ok. I have a solution, so follow along:

Firstly, the dot-walked field for "Requested for" on sc_task seems to have be the requested item's...requested for field which itself...is a dot-walk from request...see below screenshot from Configure > Form Layout:

find_real_file.png

So...you'd want to swap this out and dot-walk from Request table and use that Requested For field.

Once you've made that change. Right-click gray header bar in sc_task record and go to "Configure > Dictionary":

find_real_file.png

Now...from here, you'll see a list of columns that say stuff like "Table, Column name, Type", etc. Click the gear icon to add the "Read only" column to this list view:

find_real_file.png

Now...look for the line item talking about request and you'll see that the Read only setting for this is "true" change it to "false" then go back to your sc_task record and voila...Requested for is now editable.

For fun...I left the original Requested for that was there (that I mentioned in the beginning of my post) and that is still read-only, but the one we added is not...which is why I had you do that 😉

find_real_file.png

https://hi.service-now.com/kb_view.do?sysparm_article=KB0687623

Please mark reply as Helpful/Correct. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

13 REPLIES 13

Hi Allen,

In my instance I can see the below doted walk for  requested_for field in request table.

 

find_real_file.png

 

should I change this to RequestedItem.Request.Requested_for ?

 

Thanks and Regards,

Meenal Gharat

 

 

Hi,

No. if that's already there (on the sc_task record), then just follow the rest of my steps. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

I added ReadOnly in ListView 

Later I checked Dictionary but I couldn't found Requested_for field.

Could you please suggest .

 

Thanks and Regards

Meenal

Now...look for the line item talking about request and you'll see that the Read only setting for this is "true" change it to "false" then go back to your sc_task record and voila...Requested for is now editable.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

 

Thank you, It works ! 🙂 

 

Regards,

Meenal