cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to 5.15 Randomly duplicate Task in same process instance

juanvi
Champ in-the-making
Champ in-the-making
I've  upgraded activiti engine from 5.12 to 5.15.
After completing a user task form, the engine randomly creates two instances of the same task when it should be one task. There is  only one flow between the user task form and the problematic service task. I used standard configuration .

What am i doing wrong?

Thank you.
7 REPLIES 7

martin_grofcik
Confirmed Champ
Confirmed Champ
Can you create jUnit test for the described case please?
http://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin

juanvi
Champ in-the-making
Champ in-the-making
This error only happens in our production environment , the business process is large and the task is located almost at the end of the bp.
is there another way to check throw logs… , tomcat in debug mode, database data?

Thank you , very much.
Regards!

martin_grofcik
Confirmed Champ
Confirmed Champ
Is the part of the process instance executed asynchronously?

Regards
Martin

juanvi
Champ in-the-making
Champ in-the-making
Yes , before duplicate task there is a receive task which is fired by signal sended throw rest service.

martin_grofcik
Confirmed Champ
Confirmed Champ
When service call is not able to be rolled back in transaction job executor can execute it several times…..
Is it the case?
Regards
Martin

  Problem solved . I realize that i was sending the same signal rest call twice at the same time , so activiti engine takes two calls and creates two tasks, i think activiti doesn't complete receive task when the same signal arrives and also gets processed.

Thank you , very much
Regards !!!!!

slavomir
Champ in-the-making
Champ in-the-making

Hi I've got probably the same problem. You solved the root cause problem but how did you get rid of the already duplicated tasks? (I cannot complete because of duplication and delete because they are part of the corrupted processes)

Regards

Slavomir