cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting Actions

riadhazzouz
Confirmed Champ
Confirmed Champ

How can I detect what users do and save it after they login from the share.
For example when someone add a file, is there a way to save this action into a model, then to the database ? 
Is there any traces to the different actions ?

1 ACCEPTED ANSWER

sercama
Confirmed Champ
Confirmed Champ

Hi Riadh Azzouz‌,

Alfresco has a out-of-the-box audit module for reporting the actions which users execute over the nodes.

You can read how to activate it in the next link

Audit Log | Alfresco Documentation 

Regards.

View answer in original post

4 REPLIES 4

sercama
Confirmed Champ
Confirmed Champ

Hi Riadh Azzouz‌,

Alfresco has a out-of-the-box audit module for reporting the actions which users execute over the nodes.

You can read how to activate it in the next link

Audit Log | Alfresco Documentation 

Regards.

Thank you Sergio,

Are there any other ways to detect events, like java functions ? Then, I will run some Behavior based on these events.

Regards. 

Yes, it’s possible to listen events of nodes (for example, when nodeis created or when aspect is added to node) with behaviours. Nevertheless, I don’t recommend you this option because you will have to listen several action of all nodes of your system, so performance can be affected.

Regards.

sanjaybandhniya
Elite Collaborator
Elite Collaborator

Hi,

There are some policies/behaviors that are triggers during action like create node,copy node,delete node etc.

Behaviors/Policies | Alfresco Documentation 

It is recommended to to audit module for reporting purpose.

Audit Log | Alfresco Documentation 

There is 1 dashlet available which is giving some basic data.

GitHub - share-extras/audit-dashlet: Display audit events for any given audit application 

If you want some details data using audit then you can try AAAR.

A.A.A.R. - Alfresco Audit Analysis and Reporting - F. Corti 

Thanks,

Contcentric