<span class="kwd">var</span><span class="pln"> gr </span><span class="pun">=</span> <span class="kwd">new</span> <span class="typ">GlideRecord</span><span class="pun">(</span><span class="str">'incident'</span><span class="pun">)</span><span class="pln"> gr</span><span class="pun">.</span><span class="pln">query</span><span class="pun">();</span><span class="pln"> gs</span><span class="pun">.</span><span class="pln">info</span><span class="pun">(</span><span class="str">"Records in incident table: "</span> <span class="pun">+</span><span class="pln"> gr</span><span class="pun">.</span><span class="pln">getRowCount</span><span class="pun">());</span>
getRowCount() Method ServiceNow
admin Changed status to publish December 26, 2023