<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Report in Enterprise Activiti in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22046#M9664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good luck with that. Keep in mind, any changes you make will need to be maintained and re-introduced when you upgrade.&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 May 2017 16:30:16 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-05-04T16:30:16Z</dc:date>
    <item>
      <title>Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22041#M9659</link>
      <description>Hi,We are using Enterprise Activiti 1.5, wanted to create custom report by allowing user to select/enter input parameter and generate report for that parameter.&amp;nbsp;Looked into "activiti-custom-reports" in github but that doesn't accept any parameters from the user. I see in documentation suggesting to</description>
      <pubDate>Tue, 02 May 2017 18:56:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22041#M9659</guid>
      <dc:creator>durai</dc:creator>
      <dc:date>2017-05-02T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22042#M9660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, something else Alfresco forgot to document.&lt;/P&gt;&lt;P&gt;Took a little bit of playing around but it turns out it is pretty easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following definition:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public &lt;/SPAN&gt;ParametersDefinition getParameterDefinitions(Map&amp;lt;String, Object&amp;gt; parameterValues) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParametersDefinition definition = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;ParametersDefinition();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; definition.getParameters().add(&lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;Parameter(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"processDefinitionId"&lt;/SPAN&gt;, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;null&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"processDefinitionId"&lt;/SPAN&gt;, Parameter.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;TYPE_PROCESS_DEFINITION&lt;/SPAN&gt;, parameterValues.get(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"processDefinitionId"&lt;/SPAN&gt;)));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; definition.getParameters().add(&lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;Parameter(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"includeCompleted"&lt;/SPAN&gt;, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;null&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"includeCompleted"&lt;/SPAN&gt;, Parameter.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;TYPE_BOOLEAN&lt;/SPAN&gt;, parameterValues.get(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"includeCompleted"&lt;/SPAN&gt;)));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;return &lt;/SPAN&gt;definition;&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;Results in the following report parameter view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/13517_pastedImage_3.png" style="width: 620px; height: 126px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a limited number of available search parameters in the Parameter class:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_DATE = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"date"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_DATE_RANGE = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"dateRange"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_DATE_INTERVAL = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"dateInterval"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_DURATION = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"duration"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_PROCESS_DEFINITION = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"processDefinition"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_TASK = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"task"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_STATUS = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"status"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_INTEGER = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"integer"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public static final &lt;/SPAN&gt;String TYPE_BOOLEAN = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"boolean"&lt;/SPAN&gt;;&lt;BR /&gt; &lt;/PRE&gt;&lt;P&gt;So make sure your queries are formed to make use of the available types.&lt;/P&gt;&lt;P&gt;The special types such as TYPE_PROCESS_DEFINITION, TYPE_TASK, TYPE_STATUS will auto populate with available task names, process definition names and process instances status's from the elasticseach repo.&lt;BR /&gt;&lt;BR /&gt;Hope this gets you where you need to be.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 22:56:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22042#M9660</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-03T22:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22043#M9661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;Thank you for the code it worked.&lt;/P&gt;&lt;P&gt;Question, so we can have only the predefined types as parameters? our requirement is, list all the users in the drop-down and on-select of the user display all the workflows started by that selected user. Is it possible? Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Durai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 12:29:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22043#M9661</guid>
      <dc:creator>durai</dc:creator>
      <dc:date>2017-05-04T12:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22044#M9662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dural,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there is nothing "open" about Enterprise Edition.&lt;/P&gt;&lt;P&gt;I had to retrieve the source from Alfresco's private nexus repo in order to investigate this question.&lt;/P&gt;&lt;P&gt;Had I not had access, I would not have been able to answer (short of decompiling the classes).&lt;/P&gt;&lt;P&gt;That said, the only available parameter options are those I posted.&lt;/P&gt;&lt;P&gt;Could we add new options? Certainly, we could overload the Parameter class as well as the report renderer library to be able to understand the new parameter. In fact, that is the sort of work my company (BP3) does.&lt;/P&gt;&lt;P&gt;Alternatively, you could open a feature request with Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you want to investigate &amp;nbsp;an enhancement through BP3.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 12:52:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22044#M9662</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-04T12:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22045#M9663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;Thank you for the quick reply!!&amp;nbsp;will look into Alfresco classes and see how we can implement the additional parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Durai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 14:00:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22045#M9663</guid>
      <dc:creator>durai</dc:creator>
      <dc:date>2017-05-04T14:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22046#M9664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good luck with that. Keep in mind, any changes you make will need to be maintained and re-introduced when you upgrade.&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:30:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22046#M9664</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-04T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22047#M9665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hey Greg, I see that the search parameters are indeed limited. Have you been able to set up report parameters based on the variables within a process? E.g. a process includes a form where "Company Name", "Payment Amount", etc are entered. I'd like to be able to create a report where these values&amp;nbsp;can be filtered.&amp;nbsp;&lt;EM&gt;Company Name = x. Payment amount &amp;gt;= 500. Payment Amount &amp;lt; 1,000&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 19:49:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22047#M9665</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-12T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Report in Enterprise Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22048#M9666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Greer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the list of available parameter types does not include process variables.&lt;/P&gt;&lt;P&gt;Below is the list I have taken from source:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/15031_pastedImage_1.png" style="width: 620px; height: 216px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, the report parameter types dont appear to have been built in a way that we can extend easily.&lt;/P&gt;&lt;P&gt;So, it kind of makes the out of box reporting a little anemic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is interesting though is a github project that Ciju Joseph (an Alfresco engineer) has built out that creates a different ElasticSearch repo and populates process instance data along with process variables. I havent tested, but you may be able to use Kibana or something similar to build out your reports from this repo.&lt;BR /&gt;Check it out here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/cijujoseph/activiti-analytics-spring-boot" title="https://github.com/cijujoseph/activiti-analytics-spring-boot" rel="nofollow noopener noreferrer"&gt;GitHub - cijujoseph/activiti-analytics-spring-boot: A standalone app (ETL pattern using spring-boot) that extracts proce…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:00:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-report-in-enterprise-activiti/m-p/22048#M9666</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-07-12T20:00:28Z</dc:date>
    </item>
  </channel>
</rss>

