Hi there,
Bit of a maddening issue I've come across. I've setup a flow which practically opens a web page and downloads a report to this computer (Windows 11)'s Download folder. The file is then renamed and moved to another local folder at which time the process ends.
At the moment I am running into an error where the Move File/ Get Files Action
Error location | Subflow: Main, Action: 41, Action name: Move file |
Error message | Source folder doesn't exist |
Error details | Microsoft.Flow.RPA.Desktop.Robin.SDK.ActionException: Source folder doesn't exist ---> System.IO.DirectoryNotFoundException: Could not find a part of the path. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.MoveFile(FileObject source, FolderObject destination, Boolean overwrite) --- End of inner exception stack trace --- at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.MoveFile(FileObject source, FolderObject destination, Boolean overwrite) at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.Execute(ActionContext context) at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments) |
This function gets all files within this folder (of which there is one file downloaded)
Which is passed as 'Files' to this action, of which we take the first file (i.e., at Index 0).
Anyone seen this one before? Have any ideas on how to trouble shoot this?
Thanks all in advance!
Solved! Go to Solution.
This sucks. I’m not sure what it is doing. Sometimes the downloads folder can be tricky. You can do all this with cmd prompts. I know it’s not ideal, but it is just as fast.
just have PAD send the cmd.
here is a site for some tips if you aren’t familiar with file commands in cmd:
https://www.google.com/amp/s/www.digitalcitizen.life/command-prompt-how-use-basic-commands/
good luck!
This sucks. I’m not sure what it is doing. Sometimes the downloads folder can be tricky. You can do all this with cmd prompts. I know it’s not ideal, but it is just as fast.
just have PAD send the cmd.
here is a site for some tips if you aren’t familiar with file commands in cmd:
https://www.google.com/amp/s/www.digitalcitizen.life/command-prompt-how-use-basic-commands/
good luck!
Hi Michael,
Ah never though of just writing a couple of powershell scripts as a work around. Great suggestion, have it back up and running.
Kind regards,
Brendan
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
24 | |
7 | |
4 | |
2 | |
2 |
User | Count |
---|---|
46 | |
10 | |
9 | |
5 | |
5 |