I successfully managed to run a model robot from a bat file with the following code
(Because the orchestrator has a limit of pcs, I decided to use this method to start the robot)
But I noticed, that it only works once, when I click it again and start it, it only opened for a few seconds the console and closed it, and that is not the expected behavior of the robot (The same behavior happens if I use the xaml or json file instead of the nupkg).
Image of the cmd console open only for a few seconds
When I closed the uipath wizard and reopened it, I was able to run my robot normally from the bat file, and following those rules, I can run my robot, restarting the wizard at each execution.
Is this behavior normal?
Is it necessary to restart the wizard at each run?
Is there a solution to make the bat file work without having to be restarting the wizard?
Characteristics of the programs:
so: w7 sp1
uipath: studio pro 2021.2.0-beta.44
I wanted to pick up the topic to clarify some things.
The Windows 7 support has been officially dropped a while ago, as per this page:
It doesn’t mean that this is directly related to the operating system, but it could be.
Do you wish to schedule more processes on 1 robot at once? Otherwise, could you maybe further explain your use case a bit, as to why the bat file execution helps you achieve what is not possible via Orchestrator or Assistant? (for example, it is possible to run multiple background processes and start them from UiPath Assistant, see here)