setVariablesReadOnly method is not working on Variable Editor on Incident tableIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Trying to make a Variable Editor on the incident table read-only does not work with the setVariablesReadOnly method. Steps to reproduce: Create an onLoad client script on the Incident table with g_form.setVariablesReadOnly as trueOpen the Incident form that has the variable editorNotice the variables in Variable editor on Incident are still editable ReleaseKingston, London, Madrid CauseThe setVariablesReadOnly method is specifically reserved for the sc_task and the sc_req_item table. Will not work with any other tableResolutionTo set the Variable Editor to read only a different table like incident, please follow these steps: Create a Client Script on the Incident tablePaste the following script: function onLoad() { $("variable_map").querySelectorAll("item").forEach(function(item){ var variable = item.getAttribute("qname"); g_form.setReadOnly("variables."+ variable, true); }); } This will require to uncheck (set to false) the "isolate script" checkbox (This checkbox is not on the form by default) Steps below how to bring it to the form) To do that right click in the header -> Configure -> Form LayoutOn the left side find "Isolate script" and bring it to the right and save Save changesThis should make the Variable Editor on the incident table read-onlyRelated LinksThis script can be found in the documentation: Service Catalog variable editors