Page 1 of 1

Workflow form input data storage and report generation

PostPosted:Sat Nov 08, 2014 9:36 am
by adolf
I use OpenKM 6.2.1, tomcat 7 version, Windows 7. I have developed a workflow for procurement in my organisation. I would like to know how to store workflow form input data from users assigned tasks. I want to store the data in a MySQL databsae and also how to automatically generate pdf reports after each workflow.

Re: Workflow form input data storage and report generation

PostPosted:Thu Nov 13, 2014 11:34 am
by pavila
Hello,

A common practice is to store this information into Property Groups. In the workflow, assign the Property Group to the document or folder, and after that make a call to OKMPropertyGroup.getInstance().setProperties() or OKMPropertyGroup.getInstance().setPropertiesSimple().

If you want to generate reports you can use the com.openkm.util.ReportUtils class.

Regards.