Back-ground scripts and Fix-scripts turns blank after specific time

Sumanth16
Kilo Patron

I have run scripts-background for some records,after some time background scripts window turns to blank automatically ,and that same script i have run it in fix-script i got error "max execution time exceeded".Is anyone aware of this issue.

5 REPLIES 5

If you are looking to check what all content_type are available then may be you can with below script in background script.

 

var gr = new GlideAggregate('sys_attachment');
gr.groupBy('content_type');
gr.query();
while(gr.next())
gs.print(gr.content_type);