It would be great if the problem could be solved so easy. But according to the user guide you can use # in expressions…
I think the problem is due to the fact that org.activiti.engine.impl.javax.el.BeanELResolver gets a proxy instead of a real object from the spring context evaluating the expression. The question now is whether there is a solution for this problem that allows me to use my annotated beans or I have to define all my spring beans in a XML configuration file.