3 Strategies To Fix Nested GlideRecords
Developing Creative Business Solutions On ServiceNow on CodeCreative | A ServiceNow Blog
·
Feb 01, 2017
·
article
Previously, I talked about Nested GlideRecords in scripts and the performance impact they can have on your applications. Being able to identify these miscreants is great but we really need to get them out of any mission critical scripts where they are slowing down response times. Here are a couple strategies to kick those GlideRecords out of the nest and to teach them to fly. 1. Array Flattened GlideRecord Normally, in a Nested GlideRecord, you run a GlideRecord query for each record in the result of the first GlideRecord.
View original source
https://codecreative.io/blog/3-strategies-to-fix-nested-gliderecords/