Running processes locally
Control Room allows you to manage, orchestrate, and schedule the execution of your software robots in a central place. Robocorp Cloud has Processes, which contain steps that Runtime Environments execute. A Runtime Environment can be a Docker container or an actual physical or virtual machine running the Robocorp Workforce Agent application.
This article instructs how to set up a Robocorp Cloud workforce process to run on a local machine via Robocorp Workforce Agent.
Please note: Using this approach, the robot's triggering is still the responsibility of Robocorp Cloud. Suppose you plan to set up attended automation, allowing the end-user to trigger the robot and interact with it. In that case, we suggest you look into the Robot Assistant feature instead.
You will need a Robocorp Cloud account and Robocorp Workforce Agent, available for Windows, macOS, and Linux to follow along. If you haven't already, you might want to follow the Quickstart guide to get familiar with Robocorp Cloud.
Install and link Robocorp Workforce Agent
Follow the Robocorp Workforce Agent installation guide to install and link Robocorp Workforce Agent to your workspace in Robocorp Cloud. Make sure your Robocorp Workforce Agent is correctly linked and running:
Environments page of your workspace in Robocorp Cloud, you should now see your Robocorp Workforce Agent, marked as
With the Robocorp Workforce Agent set up and running, we are ready to assign it something to do!
Set the step in your process to point to your local environment
- In Robocorp Cloud, navigate to your process and open a step
- Edit the environment of the step to point to your local environment
- You can now return to the Process view in Robocorp Cloud and run the process.
- Note that
Robocorp Workforce Agentapplication itself does not show anything other than just logging about the execution; it is designed to stay in the background.
- Note that
By installing and running Robocorp Workforce Agent in a target system, you can run your robots there. Robots are triggered and scheduled in Robocorp Cloud, and artifacts and logs are uploaded to Robocorp Cloud.
Tip: Different steps in a process can be executed in different environments as needed. This enables you, for example, to off-load heavy processing steps that do not need the resources of the local machine to Robocorp Cloud containers or other machines.
"The step that needs Maria's machine" can be implemented to be as small and quick as possible so that the previous and following process steps can handle the heavy lifting.