How to run a .nupkg package in the background

I have a .nupkg file that contains a process of opening a web browser window, clicking buttons on the screen, inputting text, etc. How can I run this .nupkg file in the background without a visible screen?

1 Like

Hi

Welcome to UiPath forum

This can be executed only in foreground as u r trying interact with application by clicking and other Ui based activities

Background process is possible only when NO Ui based interaction happens

Have a view on this for more details

Only possible way is to either run in foreground like attended bot or in unattended mode as you Ui interactions in the process
Use unattended bot and deploy the process in a server and trigger from orchestrator

Hope this clarifies

Cheers @sac6304

HI @sac6304

To run a process from a .nupkg file in the background without a visible screen, you can use UiPath Orchestrator and set up an Unattended Robot.

  1. Orchestrator Setup:
  • Ensure you have UiPath Orchestrator set up.
  • Publish your workflow to Orchestrator by uploading the .nupkg file.
  1. Create a Process in Orchestrator:
  • Create a new process and associate it with the package (the .nupkg file) you uploaded.
  1. Create an Unattended Robot:
  • In Orchestrator, create an Unattended Robot.
  • Assign the Robot to the environment where you have the process.
  1. Job Configuration:
  • Create a job in Orchestrator and assign it to the Unattended Robot.
  • In the job settings, configure it to run in a headless mode by selecting the “Background Process” option. This ensures that the job runs without a visible screen.
  1. Start the Job:
  • Start the job from Orchestrator.
  • The Robot will execute the process in the background without displaying the UI.

Using an Unattended Robot in Orchestrator allows you to run automation processes in the background on remote machines without a visible screen.