cancel
Showing results for 
Search instead for 
Did you mean: 

Pending tasks in a workflow

maverick1
Champ in-the-making
Champ in-the-making
Is there a way to get a list of pending tasks in a workflow? The tasks don't get created in the db until the previous task is completed.

For example:

start -> task1 -> task2 -> task3 -> end

If a user claims task1, is it possible to get task2 and task3 to be shown as pending at runtime?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I do not know about such a query.
How could it be done?
1. We can get list of active user tasks for the process instance (there can be several active user tasks for one process instance)
2. for each active task start special "process execution" to collect list of pending tasks (be aware of loops, parallel gateways…)

From my point of view it is not trivial.

Could you describe what do you want to achieve by this kind of report?

Regards
Martin