Skip to main content
Participant
April 7, 2021
Answered

Power Automate Split and Merge the split output array

  • April 7, 2021
  • 1 reply
  • 3560 views

Hi Community members,

Adobe Team, Thank you so much for this wonderful service made available for Power Automate.

I have a specific requirement to merge number of outputs(dynamic page count) from Split module. Tried all the possible ways by providing the possible configurations on Merge module, but failed to generate output.

 

Please help!

 

This topic has been closed for replies.
Correct answer Ben Vanderberg

Hi @Vineeth5FB8 ,

I believe the issue is that the array of documents that come out of the Split PDF has more information than what the Merge PDF will accept. I got it to work by adding one step of refactoring the array to have only the content type and the file type. See the screenshot attached:

You will notice from this that I have a "documents" array variable and I have a loop which will take every output document and append to that array the content type and file content.

 

Hope this helps!

Ben

1 reply

Raymond Camden
Community Manager
Community Manager
April 7, 2021

Hi, can you provide some more detail about what you trying to do? Perhaps provide a concrete example?

Participant
April 8, 2021

Dear Raymond,

Thank you so much for the reply. Please find below flow design for explaining the issue I'm facing

 

 

And here is the result

Let me know if this information helps to understand the issue I'm facing.

Awaiting your response!

Ben Vanderberg
Community Manager
Ben VanderbergCommunity ManagerCorrect answer
Community Manager
April 12, 2021

Hi @Vineeth5FB8 ,

I believe the issue is that the array of documents that come out of the Split PDF has more information than what the Merge PDF will accept. I got it to work by adding one step of refactoring the array to have only the content type and the file type. See the screenshot attached:

You will notice from this that I have a "documents" array variable and I have a loop which will take every output document and append to that array the content type and file content.

 

Hope this helps!

Ben