RITM variable read only, how to make them read/write....

basantsoni
Kilo Guru

Hello Friends,

We have one requirement where users are raising request to install software’s like office 2013 and submit, then when IT Team start to work on that RITM they found they cannot install office 2013 on user machine hence on RITM variables itself they should be able to  change software from office 2013 to office 2019. But on RITM table all the variable are ready only. There is no client script to make them ready only.

Please help me to know how this can be possible to make RITM variable not ready only for this catalog item only.

thanks,

Basant

8 REPLIES 8

Hard to tell. Again, out-of-the-box this is not the behavior. So it's your instance, customizations, etc..

- Is the variable editor for only the specific RITM read-only? Then this might be on the Catalog Item (Catalog Client Script, Catalog UI Policy) or the Variables (Permissions section).

- Is the variable editor for all RITM's read only? Is the variable editor also read only instantly, or if you reload the form is it briefly / split second writable and then read only. If so: Client Side. Maybe check Client Scripts (not Catalog Client Scripts) on Task table.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

basantsoni
Kilo Guru

Hi Mark, thanks for your reply on this. I have checked in my instance. Variables or variable editor is ready only for all RITMs.

When we are reloading form, RITM. Variable are write/ready then become ready only. Something is running on load.  But i can not check where and on which table those client scripts are working.

Ah indeed, then it's at least Client Side.

Have you checked for onLoad Client Scripts on TASK table? For example, we have a client script on Task table which is making all variables read-only on purpose.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

What might help:

in your navigator, type: sc_req_item.config, enter

A page like below would be opened:

find_real_file.png

Then have a look at the Client Scripts section, filter for active=true, type=onLoad.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn