OpenRPA Scheduling Issue - kills previous run

Hello Community,

I need some assistance with scheduling an automated process in OpenRPA. I’m currently using Windows Task Scheduler to trigger the “Main” workflow, which in turn triggers several other workflows in my OpenRPA project.

The process is scheduled to run every 5 minutes, but there are times when the previous run takes longer than 5 minutes. In such cases, the Task Scheduler cancels the previous instance, causing the “Main” workflow to restart, leaving the previous execution incomplete.

Is there a way to check if the previous run is still in progress and prevent a new instance from triggering if the previous one hasn’t finished yet?

Thanks in advance for any suggestions!

I guess you could create a workflow in between the real workflow and your scheduler to handle back pressure, but the main way this is handled is by using OpenCore as a scheduler. By doing that, the “invocation” of the workflow will be considered remote and covered by OpenRPA’s check to avoid multiple workflows running at the same time. If you decide to use OpenCore, you might be interested in learning more about work items. In 99% of cases, work items might be a better solution than a schedule that runs every XX minutes.
Check out Workitems · open-rpa/openrpa Wiki · GitHub for more information about that.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.