Topic Options
#56436 - 10/24/18 02:27 PM Combining PDF's
Wladson Offline
OL Newbie

Registered: 01/16/18
Posts: 21
Hi, I have a process with two branches, each one does a test and generates the appropriate pdf file through PP Image, after that, I immediately call the "Merge PDF Files" that should combine both. In step by step mode it works perfectly, but when I run without stopping, the merge does not work. I noticed that apparently the "merge pdf files" process runs before the files were generated by PP Image.

I imagine the solution would be to test if both files are in the folder to then fire the merge. How can I make this type of validation?

Thank's


Edited by Wladson (10/24/18 02:34 PM)

Top
#56437 - 10/24/18 02:38 PM Re: Combining PDF's [Re: Wladson]
gleesons Offline
OL Newbie

Registered: 06/14/16
Posts: 15
Hey Wladson,

Your experiencing that issue because the Image plugin is asynchronous, so the process does not wait for the task to complete before proceeding.

You should consider using the Digital Action plugin instead. It has all the same options as Image but it's a synchronous version of the plugin. So your process will not proceed until the PDFs have been generated.

Top
#56438 - 10/24/18 04:22 PM Re: Combining PDF's [Re: gleesons]
Wladson Offline
OL Newbie

Registered: 01/16/18
Posts: 21
Exactly, that's it !!!

Thank you !


Edited by Wladson (10/24/18 04:23 PM)

Top