If addEncodedQuery doesn't have a valid query string, ServiceNow will NOT stop the query. This could mean you query WAY more records than you intend. Scary proposition if you're doing updates or deletes on a table via script! Here we explore the damage that can be done, and how to prevent it.
API Docs for isValidEncodedQuery: https://developer.servicenow.com/dev....#SGR-isValidEncodedQuery_S
Looking for #ServiceNow talent or opportunity?
🤝 Need coaching or mentorship? http://theduke.digital/contact/
👑 Duke Digital Media sponsorships & consults: https://theduke.digital
👑 Write your resume like a KING: http://theduke.digital/course-hired/
💥 My 1500+ subscriber ServiceNow mailing list: http://bit.ly/fedoruk
🔗LinkedIn: / rfedoruk
🎙️ CJ&TheDuke Podcast: https://feeds.transistor.fm/cj-the-duke
💎Donations: https://paypal.me/robfedoruk