• Workflow form input data storage and report generation

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #30469  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.
 #30521  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.