https://www.servicenowguru.com/scripting/gliderecord-query-cheat-sheet/ doubt if there’s a single concept in Service-now that is more valuable to understand than how to use GlideRecord methods to query, insert, update, and delete records in your system. These methods have a wide variety of...
The ServiceNow Glide classes expose JavaScript APIs that enable you to conveniently work with tables using scripts. Using the Glide APIs, you can perform database operations without writing SQL queries, display UI pages, and define UI actions. The following tables provide brief descriptions of the ...
For Reproducible Example, I am not expert so I do not know if it can be tested in any Javascript environment or not, but I know if you have a ServiceNow instance (A dev one should be sufficient), you can go and create a new UI action and use the above code then y...