Thanks, I added the code snippet, but it does not behave the way I would like. To make this more explicit I added timestamps to the parallel tasks and I added a third task that depends on the first two parallel ones (see the attached zip file parallel2.txt).
After the first two tasks are executed, the process waits for about 20 seconds, printing "Process still running" and then it executes the third one.
You say that the error is lowered to debug in the current release. As far as I understand, 5.17.0 is the current release and this is the version specified in pom.xml. Is there a more recent release that I should use?
Thanks
Florian
Started example.
Jul 29, 2015 2:18:31 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [activiti.cfg.xml]
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on engine with resource org/activiti/db/create/activiti.h2.create.engine.sql
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on history with resource org/activiti/db/create/activiti.h2.create.history.sql
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor start
INFO: Starting up the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor startExecutingAsyncJobs
INFO: Creating thread pool queue of size 100
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor startExecutingAsyncJobs
INFO: Creating executor service with corePoolSize 2, maxPoolSize 10 and keepAliveTime 5000
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable run
INFO: {} starting to acquire async jobs due
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable run
INFO: {} starting to acquire async jobs due
Jul 29, 2015 2:18:34 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource Parallel.bpmn
Process still running
Parallel strand 1 at 20150729-14:18:36.468
Parallel strand 2 at 20150729-14:18:36.469
Jul 29, 2015 2:18:36 PM org.activiti.engine.impl.cmd.JobRetryCmd execute
SEVERE: activitiy or FailedJobRetryTimerCycleValue is null in job 15'. only decrementing retries.
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Process still running
Serial strand at 20150729-14:18:54.474
Process instance completed
Jul 29, 2015 2:18:54 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor shutdown
INFO: Shutting down the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
Jul 29, 2015 2:18:54 PM org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable run
INFO: {} stopped async job due acquisition
Jul 29, 2015 2:18:54 PM org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable run
INFO: {} stopped async job due acquisition
Finished example.