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.
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.
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?
- Do you know if the problem is with the PDF file or with the PDF viewer on the recipient’s device?
- 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.
- 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?
- 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!
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?
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.
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.
Glad to hear that you sorted it out!