ServiceNow Things to Know 19: GlideQuery for a simple aggregate count as alternative to getRowCount
Import
·
Dec 13, 2023
·
article
You can do the following GlideQuery for a simple aggregate count and this can be an alternative to getRowCount.
new GlideQuery.parse('incident','active=truepriority=3').count()
View original source
https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-19-glidequery-for-a-simple-aggregate/ba-p/2760896