Home Platform Openbots Server Scheduling a Process Run

Scheduling a Process Run

What are Schedules?

Schedules are an OpenBots Server feature that enable job execution at specific frequencies or with an ad-hoc approach. Publishing a Process manually or from the OpenBots Studio makes it possible for the process to be accessible in the OpenBots Server.

How does Scheduling work?

Scheduling the execution of a process is performed by navigating to the OpenBots Server and clicking the Schedules tab, and clicking on the Add Schedule button.

The Add Schedule window will appear. In the Name field, create a simple name so that it is easy to identify later. From the Agent Name dropdown list, select the agent that will run this process. The agent that is chosen will determine the machine that the process is run on based on which machine the selected agent is connected to. This means that it is possible to publish a process and schedule it to run on a completely different machine. Multiple agents can be assigned to a schedule by switching the toggle from ‘Agent Name’ to ‘Agent Group’ and selecting the corresponding Agent Group. Agent Groups can be created from the Agents tab in OpenBots Server and can be utilized when multiple agents will be used to run the same automation. Make sure to toggle on ‘Group Execution’ if all of the agents in the selected group should execute the selected automation in parallel. From the Processes dropdown list, select the process to be scheduled. The Starting Type determines the frequency of the execution schedule (One Time, Recurrence, Manual, Queue Arrival).

The area below the starting type is updated according to the selected option. The One-Time schedule option means that the job will execute only once at the specified date and time.

The Recurrence schedule option signifies that the job will execute on a frequency-based manner (Minutes, Hourly, Daily, Weekly, and Monthly) between the specified Start Date and Expiry Date.

Selecting the Manual schedule options indicates that the job will be executed on-demand or ad-hoc.

Running a manual scheduled process can be performed by navigating to the Schedules tab and clicking on the All Schedules button. The Schedules window will appear with a list of all scheduled processes. Next, navigate to the row of the scheduled process to be ran and click on the View icon, which will open the Schedule Detail window. Then click on the Run Now button.

Selecting ‘Queue Arrival’ signify that the selected Automation will be executed on the selected Agent whenever a new queue item is added to the selected queue.

How does scheduling a process interact with other components?

Once the process schedule is saved, the Schedules window appears with a green success message on the top right-hand corner, and the execution of this process will appear in the Jobs component.

The execution of jobs can be monitored by clicking on the meter icon just below the success message and the History graph window will appear. It can also be viewed in the Jobs tab where multiple different statistics related to the job can be viewed like the job’s start time, end time, status, and whether or not the job was executed successfully.
Scheduling processes and tracking their status is crucial to the success of any automation project. Hopefully this tutorial was helpful and provided the information necessary to make your automations a success!
Newsletter Bot

Lets stay in touch!

Join our weekly newsletter and follow us on social media.

Contact Sales
Call Our Experts!