cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kastore
Resolver II
Resolver II

Move file based on name - OneDrive

Hello everyone,

 

i thought i have a rather easy time with the following flow but it keeps returning errors and i got no idea why.

 

The folder contains files in the format "yyyyMMdd_Name.txt" 

So i wanted to create a flow that cleans up the files daily based on the name (they might get edited, so last modified is not reliable).  

 

So i created a flow that
1) Lists files

2) Check if "Name" starts with "yyyyMMdd"* (based on UTCnow for testing purposes - will adddays -1 later)

3) if yes: move files to different folder (...)/MMyyyy 

 

Bildschirmfoto 2022-12-08 um 09.12.55.png

 

The two questions are: 

1) The flow keeps returning "An action failed. No dependent actions succeeded." at the "CONDITION" which i dont understand. I even created the folder 12/2022 and included it in the "move file" like this:

Bildschirmfoto 2022-12-08 um 09.37.44.png

 

2) does PA create a folder /122022  or /012023 if the folder does not exist?

1 ACCEPTED SOLUTION

Accepted Solutions
Kastore
Resolver II
Resolver II

Somehow it works now with the same parameters as before.. not sure what that was -.-'

View solution in original post

2 REPLIES 2
Kastore
Resolver II
Resolver II

Kastore
Resolver II
Resolver II

Somehow it works now with the same parameters as before.. not sure what that was -.-'

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,672)