Fix Script in background: Progress worker state is not set to complete after worker is finished message

Community Alums
Not applicable

Has anyone received the error, Progress worker state is not set to complete after worker is finished, when running a Fix Script in the background?

I'm receiving this error and the state remains in Running but I know my script completes because of a log message I have at the end of the script displays in the Log.

 

9 REPLIES 9

can you remove gs.sleep() and try ?

Community Alums
Not applicable

Mohith,

I'll give this a try and will let you know the results shortly.

Thanks,

Mike

 

Community Alums
Not applicable

I removed the gs.sleep() and am getting the same error.

 

Did you ever get this resolved?

Community Alums
Not applicable

Yes I did in my situation.   I noticed that I was receiving some unique database constraint errors and when I added logic to my script to check if the record exists before inserting, the Fix Script was completing successfully.