Hello Marco,
I use Jboss 7.
These are two bpmn2 files : first is a complete flow with dynamic assignation, and the second is a flow with a single human node but also with dynamic userId.
I look at your POM example for the branch 5.4, you don't use context injection? I use it, but if I can give you other files to help you make your example, no problem.