AnsweredAssumed Answered

save pdf and open

Question asked by Thomas Horst on Nov 29, 2016
Latest reply on Nov 29, 2016 by Patrick Colliflower

We have our EPDM workflow set up with a task that saves PDF files of our drawings on approval. When this task runs on our task host server, sometimes the PDFs have issues. We aren't sure if it's a video card compatibility, or missing font library, or what is causing it, but the text sometimes displays differently, and views have issues, etc. These drawings end up getting rejected, and so we really need to make sure they are all coming out clean.


We would really like to inspect these PDF files after they are created, but right now the only way to do this is to track down each one from the file system where it has been placed after generation.


We would love to have a way of opening the PDFs automatically on the machine of whoever launches the transition so that they can just click through them really quick to make sure they all look good, but I haven't' been able to find a way to do this. I tried setting the task host to run on the machine of whoever initiates the task instead of on the server, but while this does show every drawing briefly while they are generating, it doesn't seem to leave the PDFs open after saving, even if the "view after saving" option is enabled. I started digging into the API to see if I could add a PDF open command in the VBA script in the advanced script options, but I'm not sure if I can get that to do what I want. And that still doesn't run the taks on the server, so it will still lock up the engineer's machine all during the save, which is what we were trying to avoid by having the task automatic in the first place.


Is there a way to do this?