Skip to content

Using gs.print() with a GlideElement shows {} #101

@jneale

Description

@jneale

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions