Process/Job getting Suspended midway

I have a workflow that starts with Action Center. After approval or rejection, the process should continue smoothly without suspension. However, it is getting suspended midway. What should I do?

Hi @Mayur_N

Start by checking for any errors or exceptions and ensuring proper exception handling is in place. Verify that the Action Center approval or rejection is being completed properly, and check timeout settings. Ensure that queue items are processed correctly and that any dependencies are handled. Confirm that the robot is available and not suspended

Or check below link,

Happy Automation

@Mayur_N,

Check on which activity/workflow it’s getting suspended.

In Delay Activity, the job is getting suspended

@Mayur_N,

Delay activity won’t suspend the job. It should show running but kind of stuck as the bot executor thread will be in sleep state for the defined time.

To rectify, try removing this delay activity if it’s the root cause.

This has happened with me as well, I have a delay that is working fine for many months already then suddenly it is causing the RPA process to be suspended. I have removed the delay and just added a work around to have some delay and the rpa was working again

If your workflow is set to be persistable, aka it can suspend, then certain activities can cause it to suspend even if they don’t seem like they should.
Delay is one of them.

This is baked into the underlying .NET code from Microsoft the framework is built on, rather than UiPath.

You can avoid this behaviour by putting the delay in a No Persist Scope. This will make sure the delay happens without suspending your workflow.