logo

NJP

ServiceNow Admin 101: How to Do a UNION Query Using GlideRecord

Import · Oct 15, 2015 · article

Awhile back I wrote an article on how to UNION two record sets. Since I am asked about this often in my ServiceNow Scripting classes; I thought I would publish the link here.

There are a couple of approaches to implementing this. If you want a resultant recordset to report against then you will have to do it with Database Views. If you want a coding solution to merge recordsets from two different tables then you will need to take the approach I outlined in my article.

ServiceNow Admin 101: How to Do a UNION Query Using GlideRecord

Steven Bell

If you find this article helps you, don't forget to log in and "like" it! I would also like to encourage you to become a member of our blog!

image image

Please Share, Like, Comment this blog if you've found it helpful or insightful.

for Click for More Expert Blogs and also Find Expert Events!

View original source

https://www.servicenow.com/community/developer-blog/servicenow-admin-101-how-to-do-a-union-query-using-gliderecord/ba-p/2269909