AnsweredAssumed Answered

Bug with concurrentExecution

Question asked by swamy2156 on Feb 16, 2016
Latest reply on Feb 17, 2016 by swamy2156
Hi,

I am using Activiti 5.17 and facing concurrent execution problem in my workflow seems like a activiti bug to me. I am working on a real time scenario like, there will be 8 parallel user tasks attached with boundary timer and service task. I am passing expression to the each service task. All these service tasks will be triggered at the same time. Some times, I notice that few service tasks reading other serviceTask's expression and doing false execution.

I am trying to isolate this problem with a junit test case and attaching to this ticket. In this test case, Initially, I turned OFF "jobExecutorActivate" and ran the test case ProcessTestMyProcess1.java so, there will be 8 jobs active in ACT_RU_JOB table, now, turn ON "jobExecutorActivate" and run it. It will execute all 16 jobs and should print 2 statements for each service task but, which is not happening. For few service tasks printing other service task related expression data.

(attached my test case maven module. please rename .txt to .zip and extract it to see the files.) Please change the db urls

Thanks,
Swamy.

Outcomes