AnsweredAssumed Answered

Custom extensionElements are erased after editing process definition

Question asked by melentye on May 15, 2013
Latest reply on May 17, 2013 by melentye
Hi,

I'm using custom extensionElements in my process definition, like that:


    <serviceTask id="aTask" name="Do Something But Fail" activiti:async="true" activiti:class="mypackage.myClass">
       <extensionElements>
          <foo:tag>content</foo:tag>
       </extensionElements>
    </serviceTask>


and I have xmlns:foo defined at the top of .bpmn file.

When I edit this process definition in Activiti Designer 5.11 (also tried 5.12), both custom extensionElements and custom namespace declaration are removed from the file.

I'd appreciate if someone could answer my questions:
1) Is it expected behavior at the moment or a bug?
2) If it is a bug, is there a workaround that would allow me to use Activiti Designer and keep the extensionElements?
3) If it is expected behavior, how hard would it be to extend Activiti Designer to support my custom extensionElements? Is there an example of such an extension?

thanks,
Andrey

Outcomes