<h2>Variable Editor is being shown on the Incident Record (Create Incident - Record Producer)</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><ul><li>There is a mandatory variable that needs to be filled in and when we do that variable editor section should not appear on the Incident form.</li><li>This is being configured via catalog UI Policy.</li></ul></section></div><div ><h3 >Release or Environment</h3><section><ul><li>All</li></ul></section></div><div ><h3 >Cause</h3><section><ul><li>Custom configuration.</li><li>Debugged the issue via session logs.</li><li>Session Logs: Where xxxxxx is the sys_id of the script include<br />09:59:06.348 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in sys_script_include.xxxxxx.script at line 86<br />log09:59:06.348 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in <refname> at line 1 ==> 1: new SSPCategoryFilters().getCatsForCurrComp();<br />log09:59:06.349 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in Phase 2 Jelly: plugin://com.glide.ui.form_presence/ui.jtemplates/doctype/activity_template_stream.xml.2 at line 1 ==> 1: new SSPCategoryFilters().getCatsForCurrComp();<br />log09:59:06.351 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in sys_script_include.xxxxxxx.script at line 86<br />log09:59:06.352 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in <refname> at line 1 ==> 1: new SSPCategoryFilters().getCatsForCurrComp();<br />log09:59:06.352 Evaluator: org.mozilla.javascript.EcmaError: Cannot read property "name" from null Caused by error in Phase 2 Jelly: plugin://com.glide.ui.form_presence/ui.jtemplates/doctype/activity_template_stream.xml.2 at line 1 ==> 1: new SSPCategoryFilters().getCatsForCurrComp</li></ul></section></div><div ><h3 >Resolution</h3><section><ul><li>Deactivating the script include, resolves the issue.<br /></li></ul></section></div></article></div>