multiInstance won't run task in parallel

Description

I'm trying to execute a task on a collection in parallel, however no combination of settings seems to change the behavior from running sequentially.

Here's my test case in Groovy:

And ParallelServiceTest.bpmn20.xml:


My task:


Here's my test case output:

I would expect values 0 to 9 to be possibly interleaved, not completely sequential. In my actual code, it's clear that my service task is called sequentially.

Note, neither the serviceTask or scriptTask work and marking both with activiti:async="true" activiti:exclusive="false" doesn't change their behavior.

Environment

openjdk version "1.7.0-u40-b24" on OS X 10.8.4

Assignee

Tijs Rademakers

Reporter

Cameron Stokes

Labels

None

Components

Affects versions

Priority

Major
Configure