Hello everyone,
and please excuse my poor english.
I 'd like to start a robot using a filePath as argument, so as to work on a specific file each time the robot is launched…
When i start the robot using assistant, there is always an error “invalid Character in filepath”.
When i start the robot using Studio in debug mode, with the filepath as argument, there is no error.
When I start the robot in command line, with the argument in JSON, there is no error.
The value in my parameter “in_fichier” :
“C:\Users[MyUser]\Desktop\tstParam.xlsx”
Here is the error :
à System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
à System.IO.Path.GetExtension(String path)
à UiPath.Excel.Activities.WorkbookActivity1.ConstructWorkbook(String path, String password, Boolean createNew) à UiPath.Excel.Activities.WorkbookActivity
1.BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, Object state)
à System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
à System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
à System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Can you help with this ?
Thanks
Francois