Handling scheduled workflows in akaBot Center

Created by akaBot Support, Modified on Thu, 25 Jul, 2024 at 3:18 PM by akaBot Support

Question: If Workflow-B is waiting for Workflow-A to finish, will Workflow-B start after 1 minute if scheduled?


Answer:

In akaBot Center, when you schedule a workflow, it is marked with a trigger and the status is set to "Pending," creating a task in the Task Table.

The execution of the scheduled task depends on the status of the Agent:

  • If the Agent is disconnecting or running another task: The scheduled task will remain in "Pending" status and will not execute until the Agent is available.
  • If the Agent is available: The task will execute according to the schedule.

In your example:

  • Workflow-B is scheduled to start 1 minute after Workflow-A finishes. The scheduling itself will create a task with a "Pending" status at the specified time.
  • If the Agent is busy or not available (e.g., running Workflow-A or another task), Workflow-B will remain in "Pending" status until the Agent is free.
  • If the Agent is available, Workflow-B will start as scheduled.

So, Workflow-B will not start exactly 1 minute later if the Agent is busy; it will start once the Agent is available and the scheduled time has passed.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article