Skip to main content
Solved

fme pdf reader fatal error

  • March 7, 2019
  • 2 replies
  • 50 views

oliver.morris
Contributor
Forum|alt.badge.img+14

I am trying to read in some pdfs, unfortunately when the pdf reader fails to open the pdf (if say it is corrupt) the workbench stops:

2019-03-07 15:40:24| 391.6| 0.0|FATAL |PDF Reader: Failed to open document '\\xxxx.pdf' because the file is not in PDF format, or because it is corrupted

I have set the workbench to ignore failed readers and continue transaction is setup under the Rejected feature handling.

Is there any way I can keep it running?

Thank you

Oliver

 

 

Best answer by david_r

You can wrap your workspace in a second workspace that uses the WorkspaceRunner transformer, passing the PDF filename as a published parameter.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • March 7, 2019

You can wrap your workspace in a second workspace that uses the WorkspaceRunner transformer, passing the PDF filename as a published parameter.


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • March 7, 2019

Will give that a spin. Thank you