I am not able to get all the tasks under a process id,i get only current task.

cancel
Showing results for 
Search instead for 
Did you mean: 
suri_kumar
Member II

I am not able to get all the tasks under a process id,i get only current task.

I am creating a process instance from process definition,then i have to set the assignee to two tasks under that process instance(process definition contain two user tasks unassigned),But as i get only one/current task (task 1) under process instance i am not able to set the assignee to task 2 in the process instance.

 

My requirement is to set assignee dynamically to each process instance created from process definition,and then get list of tasks for the assignee set previously.

1 Reply
kalpesh_c2
Senior Member

Re: I am not able to get all the tasks under a process id,i get only current task.

Hi,

Take one extra variable and set the task assignee value to it , in next task use that variable values as assignee variable.

Thanks,

Kalpesh

ContCentric