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 variables in multi row variables set

Xhare
Tera Contributor

I'm trying to hide one variables (action) in my multirow variables but its not working with client script.

 

Xhare_1-1717145188922.png

 

var requestType= g_form.getValue('request_type');
   if(requestType =='add_location'){
    g_form.setVisible('action', false);
   }
1 REPLY 1

sumitraghav
Tera Contributor

A multi-row variable set works like a pop-up window and does not have the parent page/record variable details. This is one of the limitations of a multi-row variable set. If the variable on which the script is running should be part of the variable set to make it work.