How to make variables in task view editable?

lisaO
Giga Contributor

Hi, i created a few variables for my catalog item which is supposed to be visible only in fulfiller view under a task. A fulfiller assigned to the request can fill up the variables when the task is assigned to them. However, when I test it out, i can't seem to modify the fields as they are all greyed-out. May I know what am i missing? Pls refer to the screenshot. THank you in advance

1 ACCEPTED SOLUTION

Can you check if these variables are already read-only or set client side? For example, open the sc_task, look closely at the variables, are they going from short not read-only to read-only? Then something has been put in place to make these read-only, onLoad Client Script for example.

The write_roles field has nothing to do with security_admin. This is a field on the Variables form with which you can set (client side) permissions on the variables.

Is this only occurring for this sc_task or also others?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

6 REPLIES 6

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Out-of-the-box these are not read-only. Might there have been an onLoad Client Script added which makes these variables read-only? Or are on the variables the fields write_roles applied?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

HI Mark,

 

Attached is how i set the catalog UI policy. I did not change anything in Roles because I do not have security admin permission.

Can you check if these variables are already read-only or set client side? For example, open the sc_task, look closely at the variables, are they going from short not read-only to read-only? Then something has been put in place to make these read-only, onLoad Client Script for example.

The write_roles field has nothing to do with security_admin. This is a field on the Variables form with which you can set (client side) permissions on the variables.

Is this only occurring for this sc_task or also others?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Mark,

 

Thanks for the reply. I am not sure how to access the sc_task? I can;t seem to access the task table. I check the rolers permission on the variables, nothing has been set. 

 

This is only occuring for this task.