Sharad_P
(Sharad P)
March 15, 2023, 4:07am
1
I tried many way but none working
1]
C:\Users\vab\AppData\Local\Programs\UiPath\Studio\UiRobot.exe execute File: C:\Users\vab\OneDrive - vab\Backup Folders\Documents\UiPath\SQL_Dev_Automation\Main.xaml
2]
“C:\Users\vab\AppData\Local\Programs\UiPath\Studio\UiRobot.exe” execute --File C:\Users\vab\OneDrive - vab\Backup Folders\Documents\UiPath\SQL_Dev_Automation\Main.xaml
3]
“C:\Users\vab\AppData\Local\Programs\UiPath\Studio\UiRobot.exe” execute /File: “C:\Users\vab\OneDrive - vab\Backup Folders\Documents\UiPath\SQL_Dev_Automation\Main.xaml”
If it’s a Windows or portable project, running the xaml won’t work/isn’t supported. You’ll need to run the published project (the nupkg file):
UiRobot.exe execute --file "C:\UiPath\Automation\Notepad.1.0.6682.21636.nupkg"
To make it easier for you to work with command line arguments, navigate to the directory in which the Robot is installed using the change directory command. For example, if you did not change the default location of the Robot, you can use the...
1 Like
aquinn
(Aquinn)
March 15, 2023, 1:45pm
3
you will need to publish the workflow and put a pathway of where you want it to be stored in the publish options → custom URL
This will give you a .nupkg file for the automation
You can then launch this in a batch through using what @scott_zielinski has mentioned
UiRobot.exe execute --file “C:\UiPath\Automation\Notepad.1.0.6682.21636.nupkg”
or replace the file " " with your own pathway to the robot
1 Like
aquinn
(Aquinn)
March 17, 2023, 9:44am
6
Please mark my answer as the solution if it works for you
@aquinn Really? I gave the answer, yet you beg to be marked as the solution?
aquinn
(Aquinn)
March 17, 2023, 1:01pm
8
i was not begging i simply asked if the solution worked to mark it. Please do not mention me in comments like this