Fórum

Reassign workflow task

thumbnail
Willem Vermeer, modificado 11 Anos atrás.

Reassign workflow task

Junior Member Postagens: 32 Data de Entrada: 30/03/12 Postagens Recentes
Hello,

We use kaleo workflow to programmatically assigning workflow tasks to users by invoking
WorkflowTaskManagerUtil.assignWorkflowTaskToUser(..)

I would like to be able to reassign a task from one user to another user. However when I invoke assignWorkflowTaskToUser on the second user, the task seems to get assigned but when the two different users load the workflow task, the assigneeUserId is different!
So I have one and the same WorkflowTask (I know it's the same because the workflowTaskId is the same) but when user1 is logged on task.getAssigneeUserId() returns userId1 and when user2 is logged on task.getAssigneeUserId() returns userId2.

Is it at all supported to invoke assignWorkflowTaskToUser twice to different users? Or am I looking at unsupported behaviour here?

I guess the alternative scenario would be to assign the task to a role that both users share but I just wanted to sanity check if reassigning a task the way I tried it is supported.

Thanks,
Willem
Parag Redij, modificado 11 Anos atrás.

RE: Reassign workflow task

New Member Postagens: 2 Data de Entrada: 18/04/12 Postagens Recentes
Hi Willem,

You can do workflow task reassignment through java code & groovy script .

Thanks,
Parag
Enrico Maria Rossi, modificado 11 Anos atrás.

RE: Reassign workflow task

New Member Postagens: 22 Data de Entrada: 15/01/13 Postagens Recentes
Hi, is it possible assign-to a list of users?, With kaleo i can assign-to only one user. Thanks.

Regards,

Enrico