Hello Maciej and Huisheng Xu.
Could you both have a look at https://jira.jboss.org/jira/browse/JBPM-2537 ?
Would be great if both of you could test this. Patch and test case are available in the issue. The test case is a bit weird and confusing. I advise you to take the one from the duplicated issues which is clearer. If everything works fine for you both as well I think the patch could be commited to the trunk. Maybe you could take care of this, Maciej?
Cheers
Sebastian