05-05-2020 11:26 AM
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...
05-05-2020 06:29 PM
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.
05-07-2020 03:46 AM
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}.
Explore our Alfresco products with the links below. Use labels to filter content by product module.