cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco activiti end task

naman
Champ in-the-making
Champ in-the-making

Hello all

I am new to activiti. I am creating activiti workflow in which I have 2 tasks(User task) eg. taskA and taskA-Backup, when workflow starts both tasks will start simultaneously. Now I want whenever taskA is completed I want to end/complete taskA-Backup too or vice versa.

Any help would be greatly appreciated !!!

Alfresco: Alfresco 5.0.c

OS: Windows 7

Activiti eclipse BPMN 2.0 Designer

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

If the tasks are virtually identical and only exist to ensure that at least one of two users perform it, then you might want to use a mult-instance user task instead. With multi-instance user tasks you can easily configure a kind of "required completion percent" threshold at which all the other tasks are automatically completed / deleted. See multi-instance documentation in the Activiti user manual for details

View answer in original post

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

If the tasks are virtually identical and only exist to ensure that at least one of two users perform it, then you might want to use a mult-instance user task instead. With multi-instance user tasks you can easily configure a kind of "required completion percent" threshold at which all the other tasks are automatically completed / deleted. See multi-instance documentation in the Activiti user manual for details

naman
Champ in-the-making
Champ in-the-making

Thanks, Axel Faust I will have look at it and will let you know the results.