Need a way to stop the full scan that's running on 'Instance scan' for more than 4 hours now.

Aindrila Mondal
Tera Expert

Need a way to stop the full we started on the 'Instance scan'.The scan generally takes 10 to 15 mins but it's been running for hours and is stuck.Need a way to stop it.It's not listed even in the active transaction on the platform so that i can kill it.

Any help is appreciated.

find_real_file.png

Thanks,

Aindrila

6 REPLIES 6

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Have to reproduce.

Though can you open the Scan Result record, and copy the "progress_id" value (for example look at the XML). Then within the Progress Worker table [sys_progress_worker], search for a record with sys_id being the progress_id. The Progress Worker record, is it still in state Running?

I'll do some searching if it's related somewhere else, being processed by an other mechanism, etc..

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Not sure if you're situation is exactly the same, though tried reproducing.

With the Process Worker record, you should be able to find the Schedule Item (maybe there's an easier way, haven't looked that much):

find_real_file.png

If you would open the related record under Job ID, and kill the background process, the Scan should stop.

find_real_file.png

(the message about exceeded time is incorrect)

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Aindrila Mondal
Tera Expert

Hi Mark,

Thanks a lot or your response.I tried checking the same way you mentioned.

Yes the state is still running on the process worker table for that particular progress_id.What shall be my next step?

find_real_file.png

Aindrila Mondal
Tera Expert

This is what i see on the progress worker record