Im trying to build a flow to delete files older than 550 days, but i cannot seem to even get it to delete a test file from a test folder with no conditions.
Get files in folder - output to variable "Files"
Delete Files - "Files"
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException:
Can't delete file C:\Users\james\Desktop\Data FolderC:\Users\james\Desktop\DataFolder\76543.txt ---> System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.DeleteFileAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.DeleteFileAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
i highlighted in red the only thing i can think of that could be wong, maybe there should be a space there? i have no idea...
im pretty new to this and this is quite frustrating, if you can help, please let me know!