So basically what the topic title says.
Included in the UiPath.Persistence.Activities there is an action for ‘Resume After Delay’
The problem is, it doesn’t work in an unattended bot ran via orchestrator nor if I trigger it via the assistant in attended mode which seems contrary to the documentation.
The only way I can get it to even come close to working is run the process directly in studio, however I’d need to keep pressing start on the suspended workflow in order to continue, that also will not automatically keep processing…
Just to demonstrate I am using it correctly, just make a blank workflow, add the persistence activities and set the project to allow persistence and to run in the background.
Then on the main add from the code snippets ‘Suspend and Resume After 5 Minutes’, publish this and try to run it from assistant and / or through orchestrator on an available machine. It will suspend and never wake up. The trigger for the job in orchestrator shows Status ‘Ready’ and Type ‘Timer’ immediately even if the 5 minutes aren’t up and the job never resumes.
Be happy to be corrected if I am missing something, otherwise I think this activity is useless and a bug and needs to be fixed.