cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning Task Watchers for User Tasks

ebbinvarghese
Champ in-the-making
Champ in-the-making
Hi,

Is there a provision for adding watchers to user tasks ?

Scenario :
I have two tasks. A multi-instance user task 'Panel member assessment' (Task 1) , followed by a user task 'Panel chair assessment' (Task 2).
A listener to the create event of Task 1 is responsible for assigning a list of panel members to this task.
Each panel member completes their task and then it is the turn of the panel chair.
As per my understanding of multi-instance task the Panel chair will get his turn only after all panel members have completed their task or if the exit condition of the multi-instance task is satisfied. I would like the Panel chair to be able to view the status of Task 1 ( like how many panel members have completed the task … etc ) while Task 1 is still active.

Is it possible to include the panel chair as a watcher\monitor for Task 1 so that he will be able to view the status of Task 1 while it is active ?

Any help is greatly appreciated.

Apologies if this question doesn't make sense , I am new to BPM.

Ebbin.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

The question completely makes sense for me.
Your requirement could be solved with process instance preview. Just show amount of completed tasks on the process step e.g.
https://github.com/gro-mar/activiti-crystalball/wiki/Drawing-into-process-diagram (it was ages ago).

My understanding of watcher is different:
When something has changed in the task (process instance…) watcher must be notified.
This can be achieved by listeners.

Regards
Martin