cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_AR
Frequent Visitor

Sharepoint-condition to move a newly created file to a specific folder based on date comparison

I have a flow that creates a file from a template and affixes a date at the end of the file. The flow runs every first Monday of every week and extracts the yyyy-MM from the file name and assigns it to a variable.

 

I have another flow that creates a folder the begininig of every month and assigns the following format to the name yyyy-MM. the folders look as follow.

Captur1e.JPG

here is where I am stuck in my flow. I created an array that pulls all the information from the body of the page. I don't know if an array is the way to go but that's my current experience with flow. 

 

array.png

Any help is appreciated, thank you. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Alex_AR ,

 

Please refer to screenshot below to create the flow:

1.png2.png

 

 

Best regards,
Alice       
 
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Alex_AR
Frequent Visitor

I am currently trying it using the date the folder was created instead of the array method. 

v-alzhan-msft
Community Support
Community Support

Hi @Alex_AR ,

 

Please refer to screenshot below to create the flow:

1.png2.png

 

 

Best regards,
Alice       
 
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,352)