How to Trigger email when the Assigned Actor of a task is changed
I need an Urgent help.
When a task is assigned to a user, an email notification is sent to the assigned user.
In case we need to change the assigned user to a different user, then emails are not fired.
Is there a way by which we can send emails everytime the assigned user is changed ?
There is any Documentation available. Can we refer any Java API to fetch if the actor is changed.
Is there any way to Implement this functionality ??
Kindly suggest as its urgent.
If you use an Enterprise edition, you could use the Event Handler registering to the "HUMAN_TASK_INSTANCE_ASSIGNEE_UPDATED" event.
If you use the Community edition, you do not have this option available. The way I would do it is to customize the related service in the Engine to either notify an external service or directly send an Email based on the additional platform configuration. This is advanced customization so not sure you will be able to make it work in a rush.
Another not-so-smart solution would be to poll for any modification and send an Email from an external service. Performance would be awful but it could be implemented quickly and could work just great for a small number of tasks or if you do not need it to be completely real-time.