Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

PrashantLearnIT
Tera Sage

You can do the following GlideQuery for a simple aggregate count and this can be an alternative to getRowCount.

new GlideQuery.parse('incident','active=true^priority=3').count()

 

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635