<script custom-tag="" type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"User without \"sn_grc.business_user\" role tries to save project, the following error occurs: Submit cancelled due to a script error - please contact your System Administrator","image":"http://support.servicenow.com/29f1d2661baf6010cafa53d8624bcb43.iix","author":{"name":"ServiceNow Support","url":"http://support.servicenow.com/now"},"keywords":"ServiceNow, NowSupport public Knowledge Base articles, Support and Troubleshooting,KB1002713,","wordcount":"210","publisher":"ServiceNow","url":"https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1002713","datePublished":"2022-01-19","dateCreated":"2022-01-18","dateModified":"2023-03-01","description":"<h2>User without \"sn_grc.business_user\" role tries to save project, the following error occurs: Submit cancelled due to a script error - please contact your System Administrator</h2><br/><div style=\"o","articleBody":"<h2>User without \"sn_grc.business_user\" role tries to save project, the following error occurs: Submit cancelled due to a script error - please contact your System Administrator</h2><br/><div style=\"overflow-x:auto\"><article><div ><h3 >Issue </h3><section><p>When any user that has the &#34;it_project_manager&#34; role but not the &#34;sn_grc.business_user&#34; role tries to save project, the following error occurs: Submit canceled due to a script error - please contact your System Administrator</p></section></div><div ><h3 >Release</h3><section><p>Rome</p></section></div><div ><h3 >Resolution</h3><section><p>Make code changes in the two UI macros: inherent_heatmap and residual_heatmap. Replace the XML field with below given code blocks. <br /><br />Macro: inherent_heatmap <br />Code block:</p>\r\n<p>&lt;?xml version&#61;&#34;1.0&#34; encoding&#61;&#34;utf-8&#34; ?&gt;<br />&lt;j:jelly trim&#61;&#34;false&#34; xmlns:j&#61;&#34;jelly:core&#34; xmlns:g&#61;&#34;glide&#34; xmlns:j2&#61;&#34;null&#34; xmlns:g2&#61;&#34;null&#34;&gt;<br /> &lt;g:requires name&#61;&#34;scripts/angular_includes_1.4.js&#34; /&gt;<br /> &lt;g:requires name&#61;&#34;sn_risk_advanced.AdvRiskInherentHeatmap.jsdbx&#34; /&gt;<br /> &lt;g:evaluate var&#61;&#34;jvar_hasCorrectRole&#34;&gt;<br />  var hasRole &#61; false<br />  if (gs.hasRole(&#34;sn_grc.business_user&#34;)){<br />   hasRole &#61; true;<br />  }<br />  hasRole<br /> &lt;/g:evaluate&gt;<br /> &lt;j:if test&#61;&#34;${JS:jvar_hasCorrectRole}&#34;&gt;<br />  &lt;div id&#61;&#34;inherent_assessment&#34; sn-ng-formatter&#61;&#34;adv_risk_inherent_heatmap&#34;&gt;<br />   &lt;div ng-controller&#61;&#34;inherentHeatmapController&#34;&gt; <br />    &lt;inherent_heatmap&gt;&lt;/inherent_heatmap&gt;<br />   &lt;/div&gt;<br />  &lt;/div&gt;<br /> &lt;/j:if&gt;<br />  &lt;/j:jelly&gt;</p>\r\n<div id=\"inherent_assessment\">\r\n<div> </div>\r\n</div>\r\n<p><br /><br />Macro: residual_heatmap <br />Code block: <br />&lt;?xml version&#61;&#34;1.0&#34; encoding&#61;&#34;utf-8&#34; ?&gt;<br />&lt;j:jelly trim&#61;&#34;false&#34; xmlns:j&#61;&#34;jelly:core&#34; xmlns:g&#61;&#34;glide&#34; xmlns:j2&#61;&#34;null&#34; xmlns:g2&#61;&#34;null&#34;&gt;<br /> &lt;g:requires name&#61;&#34;scripts/angular_includes_1.4.js&#34; /&gt;<br /> &lt;g:requires name&#61;&#34;sn_risk_advanced.AdvRiskResidualHeatmap.jsdbx&#34; /&gt;<br /> &lt;g:evaluate var&#61;&#34;jvar_hasCorrectRole&#34;&gt;<br />  var hasRole &#61; false<br />  if (gs.hasRole(&#34;sn_grc.business_user&#34;)){<br />   hasRole &#61; true;<br />  }<br />  hasRole<br /> &lt;/g:evaluate&gt;<br /> &lt;j:if test&#61;&#34;${JS:jvar_hasCorrectRole}&#34;&gt;<br />  &lt;div id&#61;&#34;residual_assessment&#34; sn-ng-formatter&#61;&#34;adv_risk_residual_heatmap&#34;&gt;<br />   &lt;div ng-controller&#61;&#34;residualHeatmapController&#34;&gt; <br />    &lt;residual_heatmap&gt;&lt;/residual_heatmap&gt;<br />   &lt;/div&gt;<br />  &lt;/div&gt;<br /> &lt;/j:if&gt;<br />&lt;/j:jelly&gt;</p>\r\n<div id=\"residual_assessment\"><br />\r\n<div><br /><br /></div>\r\n</div>\r\n<p> </p></section></div></article></div>"}</script>
  Loading...