11-28-2017 07:46 AM
Hi,
I am using activiti in my spring web application. i register students data every data. I would like to generate a report which contains one month data of registration. How can i generate?
11-29-2017 12:00 PM
Hi!
But what do you want to do exactly? You can use the integration of JasperReports or Freemarker or XML, or Apache POI to generate Word documents, and so on.
Regards.
11-30-2017 12:12 AM
Ya you are right. I will explain details of my issue. Assume one process which represents student registration and approval. it has two tasks. Those are
1. Registration Task
it contains following fields like registration date, name, registration no, dob and address.
2. Approval Task
it contains fields like approval checkbox
Now i need a report like how many students are registered in given from date and to date with student details. The report like
From Date: 20/11/2017 To Date: 30/11/2017
Registration Date | Name | Registration No | DOB | Address
11-30-2017 03:18 AM
Ok, this is more functional what operational but, i think you can save this information (date, name,...) in a relational database and after you can use this information as a datasource from JasperReports for example.
11-30-2017 03:59 AM
K. We need to maintain this information in separate tables. So, i will maintain activiti tables and my custom tables both. right?
11-30-2017 04:06 AM
Yes, then you can duplicate this information or use de history services os tasks:
historyService.createHistoricDetailQuery().variableUpdates().taskId(historicTask.getId()).list();
Explore our Alfresco products with the links below. Use labels to filter content by product module.