We recently upgraded our on premise BBCRM to SQL Server 2019. In doing so, I recreated all our business processes, since this changed the SQL Agent jobs from ActiveX to PowerShell. Since doing this, any job that runs longer than 15 minutes does not return a result back to the sql agent job, and so the job either times out or hangs.
This ends up blocking other jobs from running, with a “waiting for thread" error. Is anyone else experiencing this?
I did see this KB article:
But putting no timeout is making it worse. When I do put in a timeout, the sql agent job reports a timeout error even though the business process in ACE does succeed. I have also seen where I could increase the number of PowerShell threads that can run concurrently, but not sure that this would be advised or not.
Any thoughts anyone else has would be most appreciated.
Thanks.
Arlette