cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tagustin2020
Impactful Individual
Impactful Individual

Delete a File

Hello,

 

The flow below is working, but I need to add a "Delete File" step to delete populated Word docs after they have been converted to PDF or my doc library is going to "blow up" with thousands of requests in short order. I've tried different suggestions I found via Google/Community searches, but nothing is working so far. Not sure if I need a preliminary step or what. If someone could please help me I would sure appreciate it.

 

Delete File Step (not working)

DeleteFile.png

 

Here are the steps that are working. Please let me know if you need to see any of these steps expanded. Thank you. Teresa

FullFlow.png

1 ACCEPTED SOLUTION

Accepted Solutions

@tagustin2020 

After you create the file that is to be deleted, you need to add a get file properties.  You'll need info from Get file properties as input for the delete file action.  Please see my example below:

image.pngimage.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

5 REPLIES 5
ScottShearer
Super User
Super User

@tagustin2020 

When you add the delete file action do you get an error?

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
tagustin2020
Impactful Individual
Impactful Individual

@ScottShearer 

 

Hi Scott,

 

Thanks for responding. Here is a snapshot of the error I am getting.

ErrorMessage.png

@ScottShearer 

 

Hi Scott,

 

Do you think you will have time to look at my latest post sometime tomorrow? I would really appreciate your help figuring out how to delete the Word doc versions after they have been converted to PDFs. Thanks, Teresa

@tagustin2020 

After you create the file that is to be deleted, you need to add a get file properties.  You'll need info from Get file properties as input for the delete file action.  Please see my example below:

image.pngimage.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

@ScottShearer 

 

Thank you, that worked. Have a great weekend!

 

Teresa

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,894)