cancel
Showing results for 
Search instead for 
Did you mean: 

PDF from User Task Data in Custom Workflow

kalpesh_c2
Star Collaborator
Star Collaborator

Hi!

I have created a custom workflow with a user task. I want to generate PDF file with the data entered by user in the user task. How can I do this?

Please guide.

Thanks,

Kalpesh

ContCentric

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

Google for "java generate pdf" and start from there...

I can recommend PDFBox, iText and Apache FOP as libraries. Since you did not provide any real requirements other than "generate PDF [..] with [...] data" I can't say which might be better for your use case. Technically you could also just generate HTML/ODT and have LibreOffice transform that to PDF - or use ODT templates with document properties to fill in defined fields in a template (and again, convert that to PDF).

View answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

Google for "java generate pdf" and start from there...

I can recommend PDFBox, iText and Apache FOP as libraries. Since you did not provide any real requirements other than "generate PDF [..] with [...] data" I can't say which might be better for your use case. Technically you could also just generate HTML/ODT and have LibreOffice transform that to PDF - or use ODT templates with document properties to fill in defined fields in a template (and again, convert that to PDF).