AnsweredAssumed Answered

'Invalid content' error with Designer 5.11.2 and swimlanes

Question asked by mcminnp on Feb 25, 2013
Latest reply on Mar 1, 2013 by mcminnp

I am using the Activiti 5.11.2 designer in Eclipse to add a process start executionListener to a process configured to use swim lanes.

On editing and saving the process, the designer is placing the extensionElements section after the laneSet section:

 [color=#0000FF] <process id="STyLE-COB" name="STyLE Client Onboarding" isExecutable="true">
    <laneSet id="laneSet_STyLE-COB">
      . . .
      <activiti:executionListener event="start" expression="${cobStartListener.startHandler(execution)}"></activiti:executionListener>

This results in an error on deployment of thr resulting BAR file:

org.activiti.engine.ActivitiException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'extensionElements'.

Moving the extensionElements section to before the laneSet - all is OK and the process deploys and runs as expected - triggering the listener as required.

Is this a known issue? Any help/advice would be much appreciated… thanks