DirectoryNotFoundException when exists


#1

When I try to execute example of using arguments I hava an error:

"Argument2 has thrown an exception

Message: Could not find a part of the path ‘C:\Users\milton\Documents\UiPath_EXAMPLES_UIPath\Arguments\Arguments\Argument1.xaml’.

Source: Invoke workflow file: UiPath.Core.Activities

Exception Type: DirectoryNotFoundException

System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\milton\Documents\UiPath_EXAMPLES_UIPath\Arguments\Arguments\Argument1.xaml’.
at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)"

The directory (and the .xaml file) exists.

What can I do?

Thanks in advance


#2

This is because there is apparently a permissions problem when accessing the workflow on disk "C: ", which is a bit rare. Moving the workflow to another drive has worked.


About run processes in Uipath Robot