Bonita forms attachment

Please, in somebody can help me, it should be very appreciated. I need to do things like:

a) to produce a pdf file from a visualized Bonita form with data displayed, without using external environments like Java or Php or other, only working with Bonita, is it in some way possibile ? And how, if it’s true ?

b) to attach external files like pdf or jpg or other to a Bonita form, during the execution of such a form, and to save this attachment when closing the form inside the case, in way to open eventually another form and get the previous attachment displaying it in the new form; how can I eventually save in a process variable this attachment, if possible ?

c) eventually, alternatively, how could I open the previous saved form after the use, with the attachment, without losing it ? I’ve tried to reopen the form, but I lost the attachment.

I would to do all this using only Bonita adn eventually, if any, some plugins, but no other environments. Do I have some chances ? Please, help is strongly needed. Thanks to everyone.

best regards.

Rossano

Hi Rossano,

Hope the following helps…

a) to produce a pdf file from a visualized Bonita form with data displayed, without using external environments like Java or Php or other, only working with Bonita, is it in some way possibile ? And how, if it’s true ?

From my reading you want to a screen print of the browser window showing the Form and data…there is a way of doing it within Bonita but it uses the internal java subsystem via code in the connectors…see the following links and modify to your requirements:

http://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html#createScreenCapture%28java.awt.Rectangle%29
http://stackoverflow.com/questions/3422262/take-a-screenshot-with-selenium-webdriver

b) to attach external files like pdf or jpg or other to a Bonita form, during the execution of such a form, and to save this attachment when closing the form inside the case, in way to open eventually another form and get the previous attachment displaying it in the new form; how can I eventually save in a process variable this attachment, if possible ?

see http://documentation.bonitasoft.com/handling-documents

*c) eventually, alternatively, how could I open the previous saved form after the use, with the attachment, without losing it ? I’ve tried to reopen the form, but I lost the attachment.
*
I think you need to consider the life-cycle of the process the forms etc. have a look at my previous question/answer which, I’ve found, pretty much explains the situation. http://community.bonitasoft.com/answers/passing-documents-process-process-without-document-management-system

I would to do all this using only Bonita and eventually, if any, some plugins, but no other environments. Do I have some chances ?

Document management is not what Bonita is about, it is purely workflow, you have to use an external environment for documents over processes

I know it’s not what you are looking for but it’s the best way I’ve found to get things to work,

best regards.

Seán

I appreciate very much your suggestions, many thanks for your kind supporting. best regards.