An activities NuGet feed is provided in Orchestrator by default, so that each time you deploy a package to an environment, the Robot machine has access to all the activities it needs to execute the automation project. This feed's path can be found and configured in the
web.config file, in the
NuGet.Activities.Path parameter. It is automatically populated with UiPath’s official feed.
These activity packs in the Orchestrator feed can only be updated manually.
Please note that when installing the Robot, you have the option of adding a local activity feed. On the Robot machine, this feed is provided as the value of the
ActivitiesFeed parameter, in the
UiPath.settings file (
%ProgramData%\UiPath). This parameter is filled in, by default, as follows:
- When not connected to Orchestrator, if you chose to also install the activities feed when installing the Robot - the
%LocalAppData%\UiPath\Activitiesfolder is created, and the Core activities pack is installed.
- When not connected to Orchestrator, if you did not choose to install the activities feed when installing the Robot - the
%LocalAppData%\UiPath\Activitiesfolder is NOT created, and no activities are installed.
- When connected to Orchestrator, regardless if you chose to install the activities feed or not - the Orchestrator activities NuGet feed is provided
~/NuGetPackages/Activities(if you change the feed in the
web.configfile, it is also reflected when deploying the Robot to Orchestrator)
These values can be customized to suit your needs.
A MyGet feed,
https://www.myget.org/F/workflow/, for the activities packages is also provided in the
NuGet.config file (
C:\Program Files (x86)\UiPath Platform), in the
Gallery parameter. This is the feed from which the Package Manager in Studio also gets its activities.
In this case, this feed enables the Robot to look online for activities when it does not find the activities it needs in the local feed and is not connected to Orchestrator.
When you start a job on a Robot, it performs the following steps:
- It searches for the specified package version it needs to execute, in the following order: Local Projects folder (
%ALLUSERSPROFILE%\UiPath\Projectsfolder), Orchestrator NuGet feed (by default -
a. If it finds it in the Orchestrator feed, it downloads it in the
%ALLUSERSPROFILE%\UiPath\Projectsfolder, for all the Robot machines associated with the package
- It searches for the indicated versions of activities in the following order: Local (
%LocalAppData%\UiPath\Activities), Orchestrator feed (
~/NuGetPackages/Activities), MyGet feed (
a. If it does not find the indicated version at any of these locations, it looks for the highest available versions of the activities in the following order: Orchestrator feed (
~/NuGetPackages/Activities), Local (
%LocalAppData%\UiPath\Activities), MyGet feed (
b. If it does not find the latest version in either of the locations mentioned above, an error is thrown.
The latest available version of an activity is always used in all the processes deployed to a machine with multiple Robots (High-Density Robots), even if you had different versions of activities in your packages. For example, if you have 6 processes deployed to multiple Robots from the same machine as follows: 5 processes that use version 1.1 of an activity, and one process that uses version 1.2 of the same activity; all 6 processes are going to use version 1.2 of the activity.
Updated 4 years ago