Skip to main content

Notifications

Power Automate - General Discussion
Answered

Delete created file

(0) ShareShare
ReportReport
Posted on by 331

Hi,

 

I have a flow in which, after writing, I create a file and save it as HTML to later convert it to PDF and store it in Sharepoint. The problem is that each response to the form creates a file for me, and I have a folder full of these, so I want them to be automatically deleted after they are created. Add a parallel branch after the file is created, but the stream gives me an error. Am I wrong in the way that the file that is created in my stream should be deleted?.

Francisco77_1-1672783790194.png

 

 

 

Thanks,

 

Francisco

  • Verified answer
    Jcook Profile Picture
    Jcook 7,770 on at
    Re: Delete created file

    Hello @Francisco77 

     

    You cannot place in parallel. Since you will be creating the pdf file from the html file, you will have to place the delete action after the pdf has been created.

     

    So you can place after the create file (pdf). Or you can place at the very end of your flow as well.

    There is no need to use branching here :). 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard