1) Create a project in PAM, and import ParallelPriority.bpmn (attached to this JIRA).
2) Build/Deploy the project
3) Start an instance of ParallelPriority
4) Uncheck "FileNet" checkbox and submit (the priority is correct)
~~~
18:39:00,198 INFO [stdout] (default task-6) Priority 1 - END
18:39:00,200 INFO [stdout] (default task-6) Priority 2
18:39:00,200 INFO [stdout] (default task-6) ## Sequence of task perfomr
18:39:00,200 INFO [stdout] (default task-6) ## fileNet Value false
~~~
5) Start another instance of ParallelPriority
6) Uncheck "FileNet" checkbox and submit (the priority is wrong)
~~~
18:40:06,722 INFO [stdout] (default task-7) Priority 2
18:40:06,723 INFO [stdout] (default task-7) ## Sequence of task perfomr
18:40:06,723 INFO [stdout] (default task-7) ## fileNet Value false
18:40:06,734 INFO [stdout] (default task-7) Priority 1 - END
~~~
NOTE: This process is a bit aleatory because sometimes you have to try more times.