Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get Record Count with REST

raghscool
Tera Contributor

Hi,


I am not able to get the count for the sys_whitelist_member table using REST calls. Any ideas?

12 REPLIES 12

I am able to see this table in the navigation filter. When I try to   see record list ( even as Sys admin with enhanced priv) by clicking on Show List link on UI, I get this error



Security constraints prevent access to requested page


Hi Raghav,



Correct. That is what I mean that you will not be able to see the records.


nagadeepika
Kilo Contributor

Hi,

Can any one tell how to store the got record count in a variable. Iam getting the following result

GlideSession message was modified by sanitization. [message={"result":{"stats":{"count":"30494"}}}][sanitized={"result":{"stats":{"count":"30494"}}}]

Want to store count value