Create a Process receipt (In PDF form) to be sent to a local folder.



I am trying to create a receipt containing all of the process information and the BDM information from the process. The receipt would be added to a local folder every time a user would complete the process, and the receipt would be in PDF format.

My first instinct was to build a custom connector, and use 'pdfbox' or 'xreportdoc.' However it would be great to do this using the existing connectors and tools in Bonita.

Is there someone who has done something like this? Or is there a clear and transparent tutorial about how to utilize the docx writer connector and the pdf converter connector to accomplish this?

Thank you,

1 answer


Use Jasper Connector, with parameters for your data (version 5 is proven to work)

You don't say where you want to save the files - server or users PC, server is easy, user will have to download the file.

Using docx is restricted to subscription only so unless you have that you can't.

But all the information is already saved in the archive database, why duplicate the information?


PS: If this reply answers your question, please mark as resolved.


Submitted by agaughan on Thu, 07/07/2016 - 22:42

Sorry, it is meant to be saved to the user PC or a oneDrive (Downloads, Documents, FolderA, etc.).

I am using subscription Bonitasoft so I can use docx.

This a requested functionality I have been asked to flush out.

So far I have the doc created from data about and in the process, then converted to pdf. Working out the issues of accessing that file.

Thank you for the input.

Submitted by Sean McP on Thu, 07/07/2016 - 22:47

Web standards do not allow to save automatically. You will have to provide a form for the user to save the file.

Or if using one drive you could create a usable share on the server and save it there.