March 2017
Beginner
358 pages
9h 51m
English
Here's a Pro Tip recommended by Vinitha Vijay, on the ServiceNow Community (community.servicenow.com):
Building GlideRecord queries by chaining .addQuery() and .addOrCondition() method calls in scripts can be complicated, and difficult to troubleshoot unless you execute your query (such as in a background script) and print out all the results to check that they're what you expect.
Instead, simply navigate to the table you're running your query on, and build the query there using the condition builder. You can Run the query at any time, to validate that the records returned are exactly the type you expect. Once the query is perfect, you can simply right-click the last component of the query breadcrumbs just ...
Read now
Unlock full access