Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to hide some specific variables from Variable editor on Incident form.

Rajesh M1
Giga Guru

Hello,

In one of my record producer(Incident) there are number of variables but I need only some specific fields to be shown on variable editor.
Please suggest me a solution to hide unnecessary variables from variable editor.

Best Regards,

Rajesh M

1 ACCEPTED SOLUTION

Rajesh M1
Giga Guru

I Used onload Client script to hide the fields from variable editor.



g_form.setDisplay('variables.name',false);


View solution in original post

3 REPLIES 3

Kalaiarasan Pus
Giga Sage

Onload client script or UI policy.


Kalaiarasan Pus
Giga Sage

Is the question answered? If so, can you close this?


Rajesh M1
Giga Guru

I Used onload Client script to hide the fields from variable editor.



g_form.setDisplay('variables.name',false);