How to pass multiple arguments from command prompt

robot
cmd_arguments

#1

Hi team,

I am following “https://www.uipath.com/kb-articles/start-process-from-command-line” to pass parameters from commandprompt

“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:"{‘arg1’:‘hello’}"

When I passed one argument it is reading the values,
and when I passed multiple arguments only first argument is reading and remaining are not passing to code.

“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:"{‘arg1’:‘hello’}{‘arg2’:‘World’}"


#2

It worked if we pass parameters as below
“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:"{‘arg1’:‘hello’, ‘arg2’:‘World’}"


FOR - call workflow from command prompt
#3

Try this one

/Input: "{‘arg1’ :‘value1’, ‘arg2’ :‘val2’} "