im using cmd to run uipath bot normally i ll use command as “c:\uipath\uirobot.exe /file c:\uipath\sam\main.xaml”.
In Main.xaml it is having a message box assigned with empty variable called sample(String). Now I want to pass variable value from command prompt that is “c:\uipath\uirobot.exe /file c:\uipath\sam\main.xaml %sunitha”
this cmd is not working… still it is showing empty message box… Can anyone suggest me how to pass variables to uipath file
did you try this way
With arguments:
"C:\Program Files (x86)\UiPath Studio\UiRobot.exe"
/file:"C:\Users\Iordache Razvan\Documents\UiPath\StartFromCmd\Main.xaml"
/input:"{'arg1':'hello'}"
Yup bt it is throwing empty string… did it works for you
yes, did you create arg1 as argument, not variable.
2 Likes