New Bug Encountered: PDF Template not opening correctly on workflow

One of my apps continues to have intermitting issues with the PDF attachment on a workflow email rule. When the receiving party attempts of open the PDF template it shows this. Any other PDF attachments in the same workflow open as expected.

Solved Solved
0 9 647
1 ACCEPTED SOLUTION

  1. Do you know if the problem is with the PDF file or with the PDF viewer on the recipientโ€™s device?
  2. Is the PDF file being archived? If so can it be viewed from the archive location? If you are not archiving the PDF you may want to enable that to diagnose the problem.
  3. Is the workflow rule sending the PDF to more than one user? If so, can any of the other users view the PDF file? If not, can you add yourself or someone else as a recipient?
  4. Can you reproduce the problem? For example, if you go to the Audit History, find the failing workflow action, and click the โ€œRetryโ€ button to repeat the Add, Update, or Delete that triggered the workflow, does the problem reoccur?

View solution in original post

9 REPLIES 9

I assume you have not identified a particular pattern? Perhaps some data inside the pdf (i.e. some data from your dataset being used by your app) has somehow corrupted the PDF? Any extended characters or foreign language characters?

Does the applicationโ€™s workflow log show anything strange? Or even the entire appโ€™s audit log?

Thatโ€™s strange that it is intermittent.

Hi All,

I have had the same issues for the past month. 1 day the attachments work fine, the next day i get the same message as posted above. Any potential solutions or reasons for the above issue?

Kind Regards,

  1. Do you know if the problem is with the PDF file or with the PDF viewer on the recipientโ€™s device?
  2. Is the PDF file being archived? If so can it be viewed from the archive location? If you are not archiving the PDF you may want to enable that to diagnose the problem.
  3. Is the workflow rule sending the PDF to more than one user? If so, can any of the other users view the PDF file? If not, can you add yourself or someone else as a recipient?
  4. Can you reproduce the problem? For example, if you go to the Audit History, find the failing workflow action, and click the โ€œRetryโ€ button to repeat the Add, Update, or Delete that triggered the workflow, does the problem reoccur?

I have resolved the issue, there was a problem with my doc template and using the if expression

Good work Jeff!

Hi Phil,

The problem on my end still persists. Would it be possible to take a look at my attachment template to figure out if you could identify the issue?

Kind Regards,

Hi Containium Trading Enterprises,

I am happy to investigate. To do that I really need a reproducible test case.

For example, if you go to the Audit History, find the failing workflow action, and click the โ€œRetryโ€ button to repeat the Add, Update, or Delete that triggered the workflow, does the problem reoccur? If so, I have a good chance of finding the problem.

Hi Phil,

Thanks for the feedback. I just recreated my templates from scratch and it worked. Still not sure where the issue was but atleast it is sorted.

Thanks Again.

Glad to hear that you sorted it out!

Top Labels in this Space