If you want to analyze your workflow instances in Alfresco, starting from the A.A.A.R. v3.1 you can do it. Unfortunately the services available natively in Alfresco are not enough for this purpose but there is an easy way out to have a complete analytics also of this business element.
By default, A.A.A.R. v3.1 is able to extract all the workflow definitions, the workflow instances and, of course, to analyze them. But there is no solution to define which are the documents affected by the workflow instances and to know which documents are related to the specific instances of workflows.
To solve this issue, an AMP package has been developed to create the requested services for this purpose. Below is described the installation tutorial of this AMP package. Please remember that this package is OPTIONAL and requested only if you want to know which are the documents related to each of the workflow instances.
1. Download the Alfresco services for A.A.A.R.
Alfresco services for A.A.A.R. are released as an AMP package, easy to install and customize. You can download the
aaar-repo-v...amp package from SourceForge at the link below.
Of course, choose the right distribution depending on your Alfresco version. Once the amp file is downloaded, copy it into the
amps folder into your Alfresco installation environment.
2. Apply the Alfresco AMP file
Now it’s time to open a terminal and stop Alfresco from the installation folder, with the command below.
Please note that the command described are for Linux based operating system but nothing changed (extentions apart) for the Windows based operating systems. But let’s go ahead. To apply the AMP file to your installation simply execute the command below.
cd bin ./apply_amps.sh
The system will require to you to press the enter button for few times… don’t worry! 😉
3. Start Alfresco
Last but not least, it’s time to start Alfresco again. Open a terminal and start Alfresco from the installation folder, with the command below.
Nothing apparently changes and you can check the services are correctly installed by accessing to the link below using your browser.
To confirm the correct installation you should see what is described below.
4. Extract data using AAAR_Extract script
Now that everything has been properly set, you can extract the data to analyze into the AAAR Data Mart. To understand better how to extract data from you Alfresco instances into AAAR, please read here.