cancel
Showing results for 
Search instead for 
Did you mean: 

Rule to alert folder owner(s) incase someone tries to access the folder

EjikeAlfie
Confirmed Champ
Confirmed Champ

Good day everyone,

Is it possible to create a rule that sends an email to the owner(s) of a folder in the event someone opens the folder?

If it is, how do I go about creating such a rule, or where do I create such a rule in Alfresco?

I would be grateful if someone could assist me with this.

3 REPLIES 3

LeoMattioli
Employee
Employee

Folder Rules are triggered when a node is created, modified or deleted, so you can't use them.

If you want, you can create a Behavior registering onContentRead policy, see docs. Please be aware that your code will be executed every time a node is read, so will for sure affect performances.

Best regards.


Leo Mattioli - Technical Account Manager @Hyland.

AlfrescoZZZ
Star Collaborator
Star Collaborator

You can use a behavior, for check the read event on the content on a specific folder and do something (like send a email ecc.), but you need some java code behind

roberto_gamiz
Star Contributor
Star Contributor

Hello,

When you say "someone opens the folder" Do you mean using an UI  (Share or an adf app)?.

A beaviour will be executed allways the folder node is reached not only when you are using  an UI so maybe you need to extend the UI too to reach your goal. 

Best regards.




 Roberto Gámiz Sánchez

Alfresco Content Services Engineer