I have created a vb script file to run the xaml via windows scheduler.
The vb script file calls a batch file.
In the .bat file the following code is written.
dim objShell
set objshell = WScript.CreateObject (“WScript.Shell”)
objshell.Run "%compsec% /k " & cmd1 & " " & “C:\Users*\AppData\Local\UiPath\UiPath.Agent.exe" /file:"C:\Users*\Documents\UiPath\BlankProcess6\Main.xaml”
This opens the UiRobot tray instead of running the xaml.
The xaml file should be executed by this.
This was working in the previous versions like 18.3
But now in uipath versions 19.4, it is not working at all
Even i am also search the same task last few days at finally i found the solution.
Step1: i make one batch file like this
“C:\Users\naveen\AppData\Local\UiPath\app-19.10.2\UiRobot.exe” -file “D:\UIPATH\Robots\SITE_PERFORMANCE_CHECKER\Main.xaml”
Step2: i save this robot.bat file. Step3: i make one task scheduler action like this.
like below:
if not works: Step4: if its not work remove appdata in uipath folder and restart download latest comunity edition install it will works fine.