Resolved! How to query twice the same gliderecord?
Hi guys, I have script: var gr = new GlideAggregate('incident'); gr.addEncodedQuery("active=true"); gr.addAggregate('COUNT'); gr.query(); var result = 0; if (gr.next()) result = gr.getAggregate('COUNT'); gs.print...