Pessoal, alguém pode me dizer se é possível receber notificacões por email quando uma tarefa - lista de tarefas e não tiver fluxo de trabalho - para designar um usuário e também quando tiver um novo tópico nas discussões?
I am not completely sure whether this is possible out of the box but You can implement a scheduled job to achieve this requirement. You can check the user's tasks and if the count is 0, send the email notification using MailActionExecutor.
You can refer this documentation which can guide you about implementing a scheduled job:
https://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html
https://hub.alfresco.com/t5/alfresco-content-services-blog/creating-scheduled-job-in-alfresco/ba-p/2...
You would be required to set following properties in alfresco-global.properties in order to enable outbound email.
E.g.
mail.host=smtp.yourcompany.com
mail.port=25
mail.encoding=UTF-8
Refer doc: https://docs.alfresco.com/6.1/concepts/email.html
Sample code to send email:
ActionService actionService = serviceRegistry.getActionService(); Action mailAction = actionService.createAction(MailActionExecuter.NAME); mailAction.setParameterValue(MailActionExecuter.PARAM_SUBJECT, subject); mailAction.setParameterValue(MailActionExecuter.PARAM_TO, email); actionService.executeAction(mailAction, null);
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.