cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Gateway suspension

stjack1
Champ in-the-making
Champ in-the-making
Hi,

I tried to run attached workflow, but my execution seems suspended in node 'parallelgateway1'.  I check the log file, the error messages are :

[] 2016-06-29 23:25:01,387 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(113) | Leaving activity 'servicetask8'
[] 2016-06-29 23:25:01,387 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.history.DefaultHistoryManager.isHistoryLevelAtLeast(68) | Current history level: AUDIT, level required: ACTIVITY
[] 2016-06-29 23:25:01,388 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(62) | ProcessInstance[345012] takes transition (servicetask8)–flow62–>(parallelgateway1)
[] 2016-06-29 23:25:01,388 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.history.DefaultHistoryManager.isHistoryLevelAtLeast(68) | Current history level: AUDIT, level required: ACTIVITY
[] 2016-06-29 23:25:01,389 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(45) | ProcessInstance[345012] executes Activity(parallelgateway1): org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior
[] 2016-06-29 23:25:01,389 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.persistence.entity.ExecutionEntity.findInactiveConcurrentExecutions(451) | inactive concurrent executions in 'Activity(parallelgateway1)': [ProcessInstance[345012]]
[] 2016-06-29 23:25:01,390 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.persistence.entity.ExecutionEntity.findInactiveConcurrentExecutions(452) | other concurrent executions: []
[] 2016-06-29 23:25:01,390 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.history.DefaultHistoryManager.isHistoryLevelAtLeast(68) | Current history level: AUDIT, level required: ACTIVITY
[] 2016-06-29 23:25:01,391 DEBUG [http-bio-8081-exec-2] org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior.execute(79) | parallel gateway 'parallelgateway1' does not activate: 1 of 2 joined


Could you kindly give me help please? Thank you.

Regards,

Jack
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Jack,

parallelgateway1 is connected to timer catching event and message catching event. Were both of these events fired?
Can you prepare complete jUnit test?
https://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin

stjack1
Champ in-the-making
Champ in-the-making
Dear Martin,

The problem solved, I change parallel gateway to event gateway, then it works well now.

Regards,

Jack