GlideRecord is the very first tool you learn when writing server-side scripts in ServiceNow. Whether it is a Business Rule, a Script Include, or a Flow script step, it almost always appears whenever ...
No difficult preparation is required. Just copy the code, paste it into Scripts - Background, and press Run script. The record counts appearing in this article are all results actually run on my own ...