• how to get workflow form data ??

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #28185  by basel
 
hello ,
im using openkm community 6.2 and i have some question

-where can i find the workflow input data ??
-should i have to save it manually ??
-is it possible to make report based on it ??

note i don't wont to assign it to property group
 #28198  by jllort
 
Workflow data is saved at JBPM tables (start with JBPM ) should take a look on it to know what kind of information really you need and want to use to get a report. From Administration database query can access it or directly with database client ( we suggest mysql database ).
 #28205  by basel
 
Many thanks jllort,
I already checked these tables that start with jBPM before I submitted my post but I did not find any table used to save workflow form data and most of these tables used to save workflow structure and properties.
I want to ask if there anything that I should do during building workflow in JBoss in order to enforce the jBPM to create tables for each form created form at run time when run the workflow in openKM??
thanks.
 #28228  by pavila
 
You don't need to dig into the database tables. With the API you can get the variables from a ProcessInstance (a running workflow). For example:
Code: Select all
ProcessInstance pi = OKMWorkflow.getInstance().getProcessInstance(token, procInsId);
Map<String, Object> vars = pi.getVariables();

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.