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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow failing but the r...
Power Automate
Answered

Flow failing but the result is performing

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, 

 

I don't know if any of you faced it. I create a flow which everytime when a sharepoint item is created will populate a template and create a file into a folder in sharepoint. 

 

however when i run a test, the result is OK, but i get a fail status for the run. 

 

The error states : A file with the name Shared Documents/Job changes files/test.docx already exists. It was last modified by i:0#.f|membership|u445019@gefco.net on 10 Aug 2020 07:07:25 -0700.
clientRequestId: 9ca85109-ff6d-45dc-bdf1-bfc6df268a1b
serviceRequestId: 9ca85109-ff6d-45dc-bdf1-bfc6df268a1b

 

However the file isn't exist previously, it was create after the flow. 

 

Untitled.jpg

Categories:
I have the same question (0)
  • Verified answer
    ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @Anonymous  its because you have an apply to each, this means that you are trying to populate 2 time and create a file 2 times and when you use create file you can create just 1 file you can't override it.

     

    see

     

    next.PNG

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please expand the setting of the Create file action?

     

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've removed the apply to each and it worked perfectly. 

    I also removed the get item step, as with the trigger ( when an item is created or updated on sharepoint list), returns all fields necessary to compose the new file. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard