Unable to pass multiple arguments + Cmd line

Hi, I am unable to pass mutiple arguments from cmd line. When I use the script below it starts the bot but I am unable to send the argument values to the code.

“C:\Users\User Name\AppData\Local\UiPath\app-20.4.1-beta0022\UiRobot.exe” execute --file “C:\Users\User Name\Documents\UIPath\RPA_ScriptExecution_Code\Main.xaml” /input: {“argument_I_State”:“AA”,“argument_I_LicenseNumber”:“222333”,“argument_I_FirstName”:“XYZ”,“argument_I_LastName”:“vbn”,“argument_I_RequestId”:“252019”,“argument_I_WebsiteURL”:“https://gmail.com”}

Could any one help me with this ?

@Sairam_RPA - pls have a look

@GBK - I tired this but it does not work

“C:\Users\UserName\AppData\Local\UiPath\app-20.4.1-beta0022\UiRobot.exe” execute --file “C:\Users\UserName\Documents\UIPath\RPA_ScriptExecution_Code\Main.xaml” /input: “{‘argument_I_State’:‘AA’,‘argument_I_LicenseNumber’:‘222333’,‘argument_I_FirstName’:‘XYZ’,‘argument_I_LastName’:‘FFF’,‘argument_I_RequestId’:‘252019’,‘argument_I_WebsiteURL’:‘gmail.com’}”

@balupad14 - Hi Sir,

Could you help me with this. I am unable to send multiple arguments from cmd line to my code.

“C:\Users\User Name\AppData\Local\UiPath\app-20.4.1-beta0022\UiRobot.exe” execute --file “C:\Users\User Name\Documents\UIPath\RPA_ScriptExecution_Code\Main.xaml” /input: {“argument_I_State”:“AA”,“argument_I_LicenseNumber”:“222333”,“argument_I_FirstName”:“XYZ”,“argument_I_LastName”:“vbn”,“argument_I_RequestId”:“252019”,“argument_I_WebsiteURL”:“https://gmail.com”}

I am able to start the bot but unable to pass the arguments to my code.

1 Like

Hi @Sairam_RPA,

Can you please verify that this way you are passing the command line arguments.

Regards
Balamurugan.S

Hi Sir,

I tried this way as well “C:\Users\UserName\AppData\Local\UiPath\app-20.4.1-beta0022\UiRobot.exe” execute --file “C:\Users\UserName\Documents\UIPath\RPA_ScriptExecution_Code\Main.xaml” /input: “{‘argument_I_State’:‘AA’,‘argument_I_LicenseNumber’:‘222333’,‘argument_I_FirstName’:‘XYZ’,‘argument_I_LastName’:‘vbn’,‘argument_I_RequestId’:‘252019’,‘argument_I_WebsiteURL’:’ https://gmail.com’}”

But I am unable to pass the arguments to my code. I am not sure what I am doing wrong.