<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Function getValue is not allowed in scope sn_hr in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260635#M3040</link>
    <description>&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2025 10:47:42 GMT</pubDate>
    <dc:creator>Sirisha24</dc:creator>
    <dc:date>2025-05-29T10:47:42Z</dc:date>
    <item>
      <title>Function getValue is not allowed in scope sn_hr</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260635#M3040</link>
      <description>&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 10:47:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260635#M3040</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-29T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260661#M3041</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/518969"&gt;@Sirisha24&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;did this not come in lower instances?&lt;/P&gt;
&lt;P&gt;Any business rule is using getValue() in script?&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 13:07:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260661#M3041</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-05-12T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260666#M3042</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/518969"&gt;@Sirisha24&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In which script is that function present? Can you share that.&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;Try to create a Global script include accessible from all scopes and move that function to that script include.&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;Check out this &lt;A href="https://www.servicenow.com/community/developer-blog/is-not-allowed-in-scope-the-only-workaround-guide-you-need/ba-p/2275976" target="_blank" rel="noopener"&gt;article&lt;/A&gt;&amp;nbsp;for more examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Accept the solution and mark as helpful if it does, to benefit future readers.&lt;BR /&gt;Regards,&lt;BR /&gt;Sumanth&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 13:12:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260666#M3042</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2025-05-12T13:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260772#M3044</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;Thanks for your response .&lt;BR /&gt;&lt;BR /&gt;How i can find that ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Sirisha&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 10:48:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260772#M3044</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-29T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260774#M3045</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Thanks for your response .&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Sirisha&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 10:49:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260774#M3045</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-29T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260787#M3046</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/518969"&gt;@Sirisha24&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, you cannot fix it without finding it.&lt;/P&gt;
&lt;P&gt;You can try below approach :&lt;/P&gt;
&lt;P&gt;&amp;gt; Go to Business rules table and apply filter as table is 'your current table' and add one more filter saying script contains 'getValue'&lt;/P&gt;
&lt;P&gt;&amp;gt; Similarly you can check in client scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When is this message appearing? on form load? on submit? or changing some field?&lt;/P&gt;
&lt;P&gt;based on that you can find out that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope the above approach solves your question to find out from where is that coming.&lt;/P&gt;
&lt;P&gt;Accept the solution and mark as helpful if it does, to benefit future readers.&lt;BR /&gt;Regards,&lt;BR /&gt;Sumanth&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:16:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260787#M3046</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2025-05-12T14:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260798#M3047</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/518969"&gt;@Sirisha24&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not a good practice to directly do in PROD&lt;/P&gt;
&lt;P&gt;Search with business rule contains getValue()&lt;/P&gt;
&lt;P&gt;Also you will have to check from any of the business rule script include is called and it has getValue() or not in it.&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:23:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260798#M3047</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-05-12T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260808#M3049</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You mean need to check with all scripts like around 150 ?&lt;BR /&gt;There is any alternate solution for that ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Sirisha&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:27:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260808#M3049</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-12T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260811#M3051</link>
      <description>&lt;P&gt;Not all the scripts will be using the same function.&lt;/P&gt;
&lt;P&gt;To find out the one,&lt;/P&gt;
&lt;P&gt;Apply the filter saying script contains 'getValue'&lt;/P&gt;
&lt;P&gt;You can then find the exact script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sumanth&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:30:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3260811#M3051</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2025-05-12T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3265589#M3113</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Sirisha&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 10:50:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3265589#M3113</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-29T10:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3265814#M3121</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When is this message appearing? on form load? on submit? or changing some field?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 11:00:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3265814#M3121</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2025-05-16T11:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3267371#M3152</link>
      <description>&lt;P&gt;When form loaded .&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 12:13:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3267371#M3152</guid>
      <dc:creator>Sirisha24</dc:creator>
      <dc:date>2025-05-19T12:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function getValue is not allowed in scope sn_risk</title>
      <link>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3268086#M3164</link>
      <description>&lt;P&gt;Did you check how may onLoad client scripts on that table has the word getValue in script field?&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 04:34:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/function-getvalue-is-not-allowed-in-scope-sn-hr/m-p/3268086#M3164</guid>
      <dc:creator>SumanthDosapati</dc:creator>
      <dc:date>2025-05-20T04:34:21Z</dc:date>
    </item>
  </channel>
</rss>

