This code works as expected in a background script but not in Xplore. Xplore logging should recognise that `prb.number` is a GlideElement. var prb = new GlideRecord("problem"); prb.addQuery("category", "software"); prb.query(); while (prb.next()) { gs.print(prb.number); }