but in the designer there is no option to create a listener of type 'delegateExpression'. Also when i add it manually in the xml it is removed as soon as i save this change.
Are delegateExpressions not supported in the designer ? If not is there a way to still add it to the process without the designer removing it each time ?
In the service task the delegate expression is already supported, so there's no reason to not support it in the listeners. If you create a JIRA issue I'll look into this for the next release. In the meantime, I don't have a good workaround other than maybe switching to an expression instead of a delegate expression.
From the documentation i gathered that for using spring managed beans as a tasklistener i need to use a delegate expression. Can it work with an expression as well then ?
Thanks for creating the JIRA. You can use a Spring managed bean in an expression as well. The difference is that for an expression you have to specify the method you want to invoke, but then it works fine.