cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abrosales
New Member

Delete SharePoint Files After Converting Word to PDF Conversion

I built a flow that takes a Word template from a SharePoint site > converts it to PDF > generates an email with .pdf attachment > and then attach the .pdf to the Dataverse Notes table. This flow works. However, I am now trying to add a final step to delete the temporary files (.docx and .pdf) generated from the conversion, but running into an error:  "The 'inputs.parameters' of workflow operation 'Delete_Positive_PDF_file' of type 'OpenApiConnection' is not valid. Error details: The parameter 'id' could not be URI encoded. It may be too long or have an invalid sequence." Am I missing a step prior to executing the SharePoint file deletion? Thanks.

 

abrosales_0-1634372304443.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @abrosales 

Please take a try to delete the file use the id from Create file action.

vLilyWmsft_3-1634547006223.png

vLilyWmsft_2-1634546963579.png

Hope the content above may help you.

Best Regards

If my solution 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
v-LilyW-msft
Community Support
Community Support

Hi @abrosales 

Please take a try to delete the file use the id from Create file action.

vLilyWmsft_3-1634547006223.png

vLilyWmsft_2-1634546963579.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

abrosales
New Member

Well that worked. After looking at the file field requirement again, I cannot believe I missed this. Thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,182)