I'm gonna keep this really quick --
If you need to calculate the distance between two Location records in the cmn_location table in ServiceNow, as long as both of those locations have latitude and longitude values, you can do so using the script below!
Usage examples at the bottom.
You can turn these functions into methods of a Script Include if you like; whatever boats your float, mate.
Read more
Your ServiceNow instance DEFINITELY has DANGEROUS CODE executing in it RIGHT NOW, causing performance issues, unexpected behavior, and hiding records from people who should be able to see them (including you)!
This isn't a fear-mongering tactic; it's a fact we all overlook - until it's too late.
In this article, we'll unveil the top five quick and efficient methods to uncover this concealed, risky, and performance-degrading code in your instance. But that's not all - we'll also shed light on other lurking risks that could be silently sabotaging your instance's performance or security - even as you read this!
Read more