I ran this script in the background and it doesn't stop running and everything is slow, how do I stop it if I can't load any pages?

1231
Tera Contributor

find_real_file.png

var gr = new GlideRecord('sc_request');
gr.query();
while(gr.next()) {
gr.u_opened_for=gr.requested_for.getDisplayValue(); 
gr.setLimit(5);
gr.query(); gr.print();
//gr.update();
}
1 ACCEPTED SOLUTION

Your current instance node is looping the script. Until it is able to clear itself by timing out you will likely need to switch nodes.

Logout of your instance and clear your browser cache. Then do a fresh login and you should get a different node. If this doesn't work you can switch nodes via browser plugins like SN Utils.

View solution in original post

14 REPLIES 14

But the page is frozen, I can't even run the script again or load the page again

Your current instance node is looping the script. Until it is able to clear itself by timing out you will likely need to switch nodes.

Logout of your instance and clear your browser cache. Then do a fresh login and you should get a different node. If this doesn't work you can switch nodes via browser plugins like SN Utils.

1231
Tera Contributor

Help me please, how do I do this by sn utils?

find_real_file.png

Open SN Utils and on the Nodes tab click the one you want to switch to

1231
Tera Contributor

It worked guys, thanks a lot