AnsweredAssumed Answered

DefaultFormHandler/extensionElement/ -> no form properties

Question asked by hlux on May 9, 2011
Latest reply on May 20, 2011 by frederikheremans1

I'm having a problem with the activiti-webapp-explorer2 (activiti 5.4).
Whenever a usertask requires some input the form needs to be rendered
and displayed.

When I press the "complete task" button the following error occurs.

org.activiti.engine.ActivitiException: Unknown property used in expression
   at org.activiti.engine.impl.el.JuelExpression.getValue(
   at org.activiti.engine.impl.el.UelExpressionCondition.evaluate(

org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'notEnoughInformation'
   at org.activiti.engine.impl.juel.AstIdentifier.eval(
   at org.activiti.engine.impl.juel.AstEval.eval(

I tried to find out what the problem is and found that
formData.getFormProperties().size() is always 0;
This is checked in the initTaskForm() method of the TaskDetailPanel class.

The formProperty List is never filled, because there are no FormPropertyHandlers added
during the parseConfiguration(…) in the DefaultFormHandler class.

And all that seems to be the case, because there are no extensionElements in the bpmn20.xml.
Because only when there are extension elements, the formPropertyHandlers are instantiated.

I'm not sure that I'm on the right track here,
maybe somebody can add some helpful thoughts.

thanks in advance.