I am working on the Alfresco Process Services and came across the below requirements.
1. I want to send an email when I involve someone in the task. The involved person should get an email notification. Right now, by default the email notification is not going to the involved person.
2. Also, is there any way to make the attached documents and task form read only except the task claimer? I mean, only the task claimer should be able to edit the task but all other users in the group should be able to view the task in read only mode.
Any help will be appreciated...
1. What do you mean by saying "involved"? It means notification should be sent to every task's recipient?
2. In your model add the following:
<overrides> <property name="bpm:packageItemActionGroup"> <default>read_package_item_actions</default> </property> </overrides>
Here you can get more info.
Regarding the item (1): If the user get involved after the Task is created I think there is no way to trigger an action, as there is no events thrown that you can capture. In a User Task you have events: Create, Assignment, Complete (see https://docs.alfresco.com/community/concepts/wf-process-def-listeners.html)
If you involve the user at the Task creation, you might use the Create event and trigger an API call to ge the involved people, see the end-point: GET /enterprise/tasks/{taskId}.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.