04-26-2017 11:59 AM
Hello,
I trying work with Custom Reports and I see that we must to use:
ReportDataRepresentation reportData = new ReportDataRepresentation();
to make a new report...
This object admits elements:
reportData.addReportDataElement( <ELEMENT>);
That elements are defined in package:
com.activiti.domain.reporting.*
Where can I to find information about this API?
Thanks
David Hernández Tejada
04-26-2017 04:03 PM
David,
Are you using the Community Edition, or the Enterprise Edition of Activiti? The process will vary between the two - and potentially which version number you're using.
With Community Edition you will need to create a single task (typically a script task) process model and assign the target namespace to "activiti-report". There are examples in activiti-webapp-explorer2 under src/mair/resources/org/activiti/explorer/demo/process/reports. There is an example of this in one of Joram's Blogs from version 5.12 of Activiti.
With the Enterprise Edition, there are some examples in the Github repository, as either their own Java class, or just in test cases for more of the specific content you're asking about. There is also a section of the Developer Guide dedicated to what you're looking into.
I do not believe there are actual online API documents pertaining to the classes you're asking about, as they're a part of the Enterprise version of the product, and thus not open for free utilization.
-JEarles
Explore our Alfresco products with the links below. Use labels to filter content by product module.