AnsweredAssumed Answered

Seeing issue with latest version of 5.17

Question asked by ganeshr on Jan 15, 2015
Latest reply on Sep 15, 2015 by jbarrez
We are seeing one odd behavior after upgrading from 5.15 to 5.17.
We have a business process with multiple human tasks. When the first task is completed then the process should create a second task, here second task is getting created however three create events are getting triggered with three different task id's for the same second task and with same business process id. And finally out of three only one row is getting created in ACT_RU_TASK table and seems two task id's are getting rollbacked. Not able to figure out why it is generating three task create events for the same task with different task id's instead of one.

Activiti engine is running in cluster mode(4 clusters)
Here is the log from three clusters:

Cluster 1:
15-Jan-2015[13:06:05.415]::DEBUG::pool-1-thread-202::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope:42 - create scope: parent ProcessInstance[65cbde96-9ce9-11e4-bc2d-020030001d4b] continues as execution ScopeExecution[8e259cce-9ce9-11e4-90d0-020030001d69]
15-Jan-2015[13:06:05.416]::DEBUG::pool-1-thread-202::org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute:45 - ScopeExecution[8e259cce-9ce9-11e4-90d0-020030001d69] executes Activity(CustomerAcceptanceHumanTask): org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior
15-Jan-2015[13:06:16.302]::DEBUG::pool-1-thread-205::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope:50 - moving concurrent ConcurrentExecution[94a2af3a-9ce9-11e4-90d0-020030001d69] one scope up under ProcessInstance[65cbde96-9ce9-11e4-bc2d-020030001d4b]


Cluster 2:
15-Jan-2015[13:05:57.160]::DEBUG::pool-1-thread-107::org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute:45 - ProcessInstance[5d78c652-9c20-11e4-85d7-020030001b9b] executes Activity(endevent1): org.activiti.engine.impl.bpmn.behavior.NoneEndEventActivityBehavior
15-Jan-2015[13:06:06.131]::DEBUG::pool-1-thread-151::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope:42 - create scope: parent ProcessInstance[65cbde96-9ce9-11e4-bc2d-020030001d4b] continues as execution ScopeExecution[8e935254-9ce9-11e4-87d8-020030001d4c]
15-Jan-2015[13:06:06.132]::DEBUG::pool-1-thread-151::org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute:45 - ScopeExecution[8e935254-9ce9-11e4-87d8-020030001d4c] executes Activity(CustomerAcceptanceHumanTask): org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior
15-Jan-2015[13:06:43.815]::DEBUG::pool-1-thread-144::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope:99 - destroy scope: scoped ScopeExecution[7a9cf252-9c20-11e4-9668-020030001bb0] continues as parent scope ProcessInstance[7a9ca50a-9c20-11e4-9668-020030001bb0]


cluster 3:
15-Jan-2015[13:05:11.286]::DEBUG::pool-1-thread-138::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope:50 - moving concurrent ConcurrentExecution[6de27d12-9ce9-11e4-bc2d-020030001d4b] one scope up under ProcessInstance[65cbde96-9ce9-11e4-bc2d-020030001d4b]
15-Jan-2015[13:05:11.287]::DEBUG::pool-1-thread-138::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope:75 - merging last concurrent ConcurrentExecution[6de207e1-9ce9-11e4-bc2d-020030001d4b] into concurrent root ConcurrentScopeExecution[6741dd16-9ce9-11e4-bc2d-020030001d4b]
15-Jan-2015[13:05:12.229]::DEBUG::pool-1-thread-138::org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake:62 -


Process instance id - 65cbde96-9ce9-11e4-bc2d-020030001d4b

Can any help me in resolving this..

Thanks.

Outcomes