cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple users for the same task

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

I would like to assign the same userTask to one or more users and not in parallel.
The number of users is know at the begin of the workflow.

Can I do only one workflow or do I create several workflows with 1 userTask for workflow1, 2 userTasks for wf2, … (and I have to choose the good workflow depending of the number of assign users) ?
If only one workflow is possible… how can I do it ? My idea is to create a counter egal to the number of the assignees. After the userTask, an exclusiveGateway comeback to the userTask if the counter is not to zero (and decrease and change the assignee).

Thank you.

(with Alfresco 4.0b/RHEL)
3 REPLIES 3

dranakan
Champ on-the-rise
Champ on-the-rise
I think it's better two create multiple workflows to have a simple diagrams for the user.

My workflows will be very similar… only the begin will be different. Could I call another file from a workflow (like subprocess inside another file?).

Workflow 1 : BEGIN-> assignee1 ->                                      (if amount >1000) assignee2 -> END
Workflow 2 : BEGIN-> assignee1 -> assignee2 ->                    (if amount >1000) assignee3 -> END
Workflow 3 : BEGIN-> assignee1 -> assignee2 -> assignee3 -> (if amount >1000) assignee4 -> END

(if amount >1000) assigneeX is always the same. Could I put this in 1 place and call it from the workflows ?

Thank you.

shikeer
Champ in-the-making
Champ in-the-making
you can just use parallelgateway and flow condition to finish this job.
One parallelgateway after assignee1 , and there's two outgoing flows, one need amount<1000 and the other is not.
Then place another parallelgateway after assignee2, use flow  condition to judge where the flow should go.

dranakan
Champ on-the-rise
Champ on-the-rise
Thank you Shikeer.