I need to change state to close of bulk problem tickets at a time
var gr = new GlideRecord('problem');gr.addQuery(' my condition');gr.query();while (gr.next()) { gr.setValue('state', 'closed'); gr.update(); }i used above simple fix script but it was not working help me for this