How to generate a pdf file?

I want to generate a pdf file from the forms i complete.

If you mean creating pdf from the data that was submitted to the process (using for example user forms) i will suggest using pdfbox java library or some external tool for report creation like Birt.

Best regards,
bpms.help

plz can you specify it a bit more using pdfbox,should i create a connector ?

plz can you specify it a bit more using pdfbox,should i create a connector ?

Unfortunately it’s not an easy topic that can be described in one post.

PDFBox is a Java library for working with pdf files ( documentation). To use it you have to include it’s jars in your workspace (Development → Manage jars). The you can use them in scripts (groovy). This is one option.

The second option (and I prefer that) is to write code outside of the bonita, pack it to your own jar and then use it in bonita. In my opinion it is better approach because creating PDF is not something that can be done in few lines of code. And the best option in this case would be to build this functionallity as your own “Custom connector”.

Either way, what you need to do is Java coding…

Best regards,
bpms.help

On a side note, the subscription edition of Bonita BPM provide a PDF connector that let you generate a PDF file out of a Word template.