Skip to main content

 

We have a workflow that after multiple approval steps generates a PDF from a URL and saves the PDF to a network drive. The workflow does not error but the generated PDF is blank every so often. We have been unable to determine the cause.

Any insight from the community would be greatly appreciated!

Good day DMojo

 

Please see the attached document below. Keep in mind for this solution to work you will have to set up a separate runtime URL That the Smart Object will use for anonymous logon. 

 

Document:

http://help.k2.com/kb001332

 

If this post solves your problem please remember to mark it as a solution or Kudo.

 

Thank you 

Kind Regards 

Jacques


Hi DMojo,

To add to Jacques, response if his suggestion doesn’t seem to help you should try to make sure that all your properties on your workflow have been configured correctly as some properties need proper configuration especially the ID property as it’s the one that references your SmartObject to your PDF file. If not configured properly your workflow may execute without any errors but no data will be visible because the data type ID of your is in a string data type. And K2’s default ID data type is in a integer data type, which is why you will have to convert your PDF ID data type to the correct integer data type that K2 uses.

For more info about how to set up your PDF properties to the accurate data types and how to use the methods effectively, please check out this tutorial.

https://help.k2.com/onlinehelp/k2five/userguide/current/default.htm#How-Tos/PDFConverter/PDFConverter.htm

 

Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.

 

Kind Regards

Dumisani

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.

  


If it is blank sometimes but not always it could mean PDF rendering is happening before the page is fully loaded.  On your PDF SmartObject call, try setting the ConversionDelay property to a few seconds to give the form time to render before the conversion starts.

 


Reply