The Background Process is a template for creating processes that can run in parallel on the same Robot, together with one foreground process. For this reason, background processes must not contain activities that require user interaction.
The default dependencies of a background process template are: UiPath.Excel.Activities, UiPath.Mail.Activities, UiPath.System.Activities, and UiPath.WebAPI.Activities.
It is important that background processes do not make use of interactive activities, like Click or Type Into found in the UiPath.UIAutomation.Activities package. Check out the Parallel Attended Execution page to read more about how the Robot handles such processes.
In Studio, go to the Home Backstage view and select Background Process. The New Background Process window opens. Click Create after filling in the fields.
Before publishing a background process, make sure it does not contain any interactive activities. Using such activities in background processes, while running at the same time with foreground processes may cause unexpected results.
Please note that a Background Process runs in Session 0 when started from Orchestrator on an Unattended Robot.
Updated 2 years ago