Hi, one of our customers recently started having trouble with generating their PDF files, and some files are corrupt.
The files is going to a fully automated order flow in our Switch. But when a damaged PDF arrives the files get stucked in the Pitstop Server process and wont release until you manually kill the process in windows. I've also tried using Fastlane but with the same result. I need to automaticaly check if the file is damaged or not to be able to send an email to our customer, but since the file gets stucked in the flow I cannot do this. Any suggestion how to solve this?
Check if PDF is damaged
- magnussandstrom
- Advanced member
- Posts: 365
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Check if PDF is damaged
Last edited by magnussandstrom on Mon Jan 22, 2024 12:41 pm, edited 1 time in total.
Re: Check if PDF i damaged
magnussandstrom wrote: ↑Mon Jan 22, 2024 12:24 pm Hi, one of our customers recently started having trouble with generating their PDF files, and some files are corrupt.
The files is going to a fully automated order flow in our Switch. But when a damaged PDF arrives the files get stucked in the Pitstop Server process and wont release until you manually kill the process in windows. I've also tried using Fastlane but with the same result. I need to automaticaly check if the file is damaged or not to be able to send an email to our customer, but since the file gets stucked in the flow I cannot do this. Any suggestion how to solve this?
corrupt.png
This is interesting since I was going to suggest using FastLane since that is how we do it currently since we ran into your issue with Pitstop Sever, same issue it would just break the PS app in switch.
Our flow is completely automated as well from submission to press.
For any non-readable or damaged PDFs, they fail to problem jobs and we use the fail message to notify the submitter of the issue. We switched to this when FastLane came out and haven't had issue.
Color Science & Workflow Automation
- magnussandstrom
- Advanced member
- Posts: 365
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Check if PDF i damaged
Interesting, could you give me a screenshot of your Fastlane settings?
Re: Check if PDF is damaged
Sure. They are really basic, only using the presets and traffic lights, although I don't think any file has ever went down the fail path just actually fails to problem jobs.
Here you go!
Here you go!
Color Science & Workflow Automation
- magnussandstrom
- Advanced member
- Posts: 365
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Check if PDF is damaged
Thanks, what settings are you using in Switch Preferences > Error handling > Abort processes after (minutes) ?
Re: Check if PDF is damaged
It's just the default, 20min. These failures are about immediate, they don't hang out, just fail.
Color Science & Workflow Automation
Re: Check if PDF is damaged
I submitted a feature request for the FastLane app to send the job along the error connection instead sending it to Problem jobs when the input file is not a valid PDF. The error connection is there and it makes for a nicer flow design.
Re: Check if PDF is damaged
I agree, I built the flow thinking it would use the error connections but I've yet to see one go down the fail path, so thanks for doing that.
Color Science & Workflow Automation
- magnussandstrom
- Advanced member
- Posts: 365
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact: