cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Fiona_Dixon
Regular Visitor

Change order of merged PDFs

Hi

 

I have created a process that eventually creates four separate PDFs and then merges them using the new Merge PDF capability released in December 2020. I have tried to change the order and have them merge the PDFs into a certain order but I can not seem to get it done even with changing the name of the files. Does anyone have any ideas?

 

Thanks

Fiona

1 ACCEPTED SOLUTION

Accepted Solutions
miketran13
Solution Specialist
Solution Specialist

Hi,

 

Please have a look at the order of the PDF files from the parameters, the first file will come into the end and the last file will come at the beginning. 

So, in my example, PDF part 4.pdf will be the last page and PDF part 1.pdf will be the first page.

 

merge-pdf.png

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

View solution in original post

3 REPLIES 3
miketran13
Solution Specialist
Solution Specialist

Hi,

 

Please have a look at the order of the PDF files from the parameters, the first file will come into the end and the last file will come at the beginning. 

So, in my example, PDF part 4.pdf will be the last page and PDF part 1.pdf will be the first page.

 

merge-pdf.png

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

View solution in original post

TejaswiniG
Microsoft
Microsoft

Hello,

You can also use 'Get files in folder' action to sort the list of files in folder in an Descending or ascending order based on Name/creation time/last modified time.. of the files.

TejaswiniG_1-1617172485269.png

 

 

The output variable of this action %Files%, can be passed to input field - "PDF files:" of "Merge PDF" action.

TejaswiniG_2-1617172508408.png

 

Also, I am wondering if you can help me with a classic problem i m facing with a logic, here is a link

 

https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Power-Automate-Desktop-PDF-Merge-Function...

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,675)