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

Mwatkins
ServiceNow Employee
ServiceNow Employee

Hi Sumanth,

Try checking your Transaction Quota Rules. There are default timeouts for both Fix Scripts and Scripts - Background at 4 hours

find_real_file.png

You can deactivate these temporarily if needed. Also, there is a checkbox at the bottom of the Scripts - Background window that says "Cancel after 4 hours". It is checked by default so you must opt out of the quota rule by unchecking the box.

Regards, Matthew

Sumanth16
Kilo Patron

Thanks for your response.

 

Again background-script turns to blank.I have tried all those methods .Is there any way to do that?

Hi,

This could be due you are processing large amount of data. Try adding more conditions or by adding setLimit and execute query.

 

Thanks

Sumanth16
Kilo Patron

Is it possible to find MIME type attachments in sys_attachment table?