web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / files getting copied o...
Power Automate
Unanswered

files getting copied outside folder in the document library

(0) ShareShare
ReportReport
Posted on by 2,249
 
Files are getting stored outside the folder for the first time and for the same file its appending timestamp but its getting stored inside the folder properly.but when this flow runs for new file name its only getting created outside but for same file name second time its appending timestamp and creating inside the folder structure
 
KIndly suggest
 
 
 
 
Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    As you see there is a FilePath problem, the easiest solution would be to create the filePaths example below: 
     
     
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
     
     
  • Veblitz Profile Picture
    2,249 on at
    im creating folder path dynamically ,its not hard coded.using creating folder path action
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    Which Variable you need? Let me know? 
  • Veblitz Profile Picture
    2,249 on at
    expected output document library structure(dynamically)
    MT India/year/month/India/clientname/project/file.docx
     
     
     
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    Do you want to get the Date and Year with reference to columns? Created or will current Date be OK?
     
     
  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at
    I am asking because it you just need to get the Current Month and Year its eary
     
    Year
     
    formatDateTime(utcNow(), 'yyyy')
     
     
    Month
     
    formatDateTime(utcNow(), 'MM')

     
    Add a Compose action as shown in the screenshot below, and include other variables returned from SharePoint, such as Project Name, Country, and File Name with Extension, which should be the output of the Get File Properties action.
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
     
    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard