There are few package publish to the orchestrator to be run. All the workflow use the same flow and dependency.
However, there are few facing error when I run through the orchestrator. The errors is “unable to install packages” and the description is cannot find rest sharp.
But, my workflow did not need to use the rest sharp…
(and the process that run successful also didn’t use/install the rest sharp)
Is it possible that it’s because of the
mustRestoreAllDependencies
in the json file.
Because I notice the “mustRestoreAllDependencies” in those successful run is false but those fail is true.
It’s possible.
Runtime Option: mustRestoreAllDependencies will force the robot to install all the packages before it runs. If in the case that package cannot be installed, the robot will not run.
Even though the workflow didn’t use the dependency(and I also didn’t install it at the manage packages there), the “mustRestoreAllDependencies” will still force the robot to install??
Dependencies are nested(I don’t think nested is a good word, maybe inherited?), so it might be that one of the dependencies you use is using that “rest sharp” dependency. Take a look at the screenshot below for the reference:
For example UiPath.PDF.Activities is dependent on UiPath.DocumentUnderstanding.Digitizer, which is again dependent on NTextCat.
The below is the dependency of my workflow:
“UiPath.Excel.Activities”: “[2.11.4]”,
“UiPath.Mail.Activities”: “[1.12.3]”,
“UiPath.System.Activities”: “[21.10.4]”,
“UiPath.UIAutomation.Activities”: “[21.10.5]”