cancel
Showing results for 
Search instead for 
Did you mean: 

Email Option for Tasks.

renjithek1
Champ in-the-making
Champ in-the-making
Greetings Activiti Forum,

We are from Saudi Arabia and we have just finished evaluating the Activiti 5.13 and are very impressed by this BPM product.

As per the company’s decision, we want to use only the Task functionality of Activiti now.

Later on we will move to Process and Reports, but as of now the focus is on Tasks.

While focusing on Activiti Tasks, we need some enhancement or customization and that is basically the email option for tasks.

1)When a new Task is created, an email must be send to the assignee as well as the person involved in that particular Task.

2)When there is re-assign of Task and also when involved person is removed from Task, an email must be send to that particular person.

3)Suppose a Task having a due date with high priority and if this Task not completed within the due date then this Task must be closed or completed automatically and archived.

4)The Owner of the Task must get an email when the assignee completes the Task or before it is archived.

5)How to re-open a completed or archived Task

These are we looking for and so can you provide some suggestions or guidelines for accomplishing this enhancements on Activiti  BPM.

With thanks & best regards

Renjith  E K
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
For 1, 2 and 4 take a look at "Task listeners", which allows you to run custom logic (eg. send an email) when a task is created/assigned/completed.

For 3, take a look at timer boundary events. If used with "cancelActitivity=false", you can have the process continue (after delay) to any step you which, effectively skipping the need to complete the task.

For 5, this is not as trivial. Once a task is completed, it's deleted and stored in history (if enabled). So reviving/reopening it cannot be done. you can, however, have your process loop back to the task to create a new instance of that task instead… However, this needs to be modelled explicitly, so just "reopening" any task in your workflow from anywhere is nearly impossible.

renjithek1
Champ in-the-making
Champ in-the-making
Greetings Activiti Forum,

Let me express my sincere gratitude for your feedback. And we will follow the steps that you have mentioned for the enhancement of Activiti BPM. And also thank the Activiti forum for giving the opportunity to post our queries.

Regards
Renjith E K