cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help in creating Activiti Custom Reports

loganathan86
Champ in-the-making
Champ in-the-making

I am pretty new to Activiti started to go through tutorials https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/ just two days back, as per guidelines from https://github.com/Alfresco/activiti-custom-reports downloaded code for custom report generation but I strucked in solving compilation issues like

import com.activiti.service.reporting.AbstractReportGenerator;
import com.activiti.service.reporting.ElasticSearchConstants;
import com.activiti.service.reporting.converter.AggsToMultiSeriesChartConverter;
import com.activiti.service.reporting.converter.AggsToSimpleChartBasicConverter;
import com.activiti.service.reporting.converter.AggsToSimpleDateBasedChartBasicConverter;
import com.activiti.service.reporting.converter.BucketExtractors;

its shows these classes are missing,and needs help in Setting up ElasticSearch also?

Please do the needful..)

1 ACCEPTED ANSWER

gdharley
Elite Collaborator
Elite Collaborator

Hi, sorry to answer your question with a question. But are you using Community Edition or Enterprise Edition?

I ask because the project you downloaded from github is specific to Enterprise Edition where Elasticsearch is embedded out of the box.

I expect you are probably using Community Edition, please confirm.
The generation of Custom Reports is quite different between Community Edition and Enterprise Edition.
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.

If you are using Activiti Enterprise, you will need to make sure you have the Alfresco Nexus repository correctly setup in your maven settings.xml.

Cheers,

Greg

View answer in original post

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Hi, sorry to answer your question with a question. But are you using Community Edition or Enterprise Edition?

I ask because the project you downloaded from github is specific to Enterprise Edition where Elasticsearch is embedded out of the box.

I expect you are probably using Community Edition, please confirm.
The generation of Custom Reports is quite different between Community Edition and Enterprise Edition.
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.

If you are using Activiti Enterprise, you will need to make sure you have the Alfresco Nexus repository correctly setup in your maven settings.xml.

Cheers,

Greg