AnsweredAssumed Answered

ServiceTask delegateexprssion is not honoring field settings

Question asked by kesavkolla on May 13, 2011
Latest reply on Nov 24, 2016 by marcelwolf
If the service task is defined with delegateexpression it's not honoring fields that are defined in BPMN.  The delegate gets instantiated but the fields are not set.

The code in line 902 when creating ServiceTaskDelegateExpressionActivityBehavior the fields are not parsed.  Also the code ServiceTaskDelegateExpressionActivityBehavior doesn't handle the fields.

To me it's a defect even when we define delegate expression to load any spring bean we still want to wire some properties of that in BPMN.  IMO the BPMN field definitions should be applied to delegate object.

I've patched the code I can submit the code if any one interested.