Hallo to everybody.
I need to send an email to a group/s of users whenever a document enters into a folder. I have created a rule in Alfresco to do so by sending emails to fixed, predefined groups.
But the problem arises when the groups are not known at design time. In my case, the different groups are created dinamically at run time. For this reason, I cannot create a rule directly with the Alfresco client to send an email to these groups, because they do not even exist when creating the rule. For this reason, I need to assign the group dynamically. Then the question is: Is there a way to change a predefined email sending rule to change the recipient of the emails? Or, alternatively, how can I set up an email sending rule at run time with a javascript? I suppose that there is a javascript API to access these rules, but I am not able to find it.
Thank you very much