flowable-designer icon indicating copy to clipboard operation
flowable-designer copied to clipboard

Eclipse designer removes important attributes

Open boris-petrov opened this issue 7 years ago • 4 comments

When saving a file, the Eclipse designer removes the following attributes from serviceTask nodes:

flowable:async="true" flowable:exclusive="false" flowable:class="MyClass"

The most important one being class. Then, when I run my project, it blows up with something like:

org.flowable.engine.common.api.FlowableException: Errors while parsing:                                                                                       
[Validation set: 'flowable-executable-process' | Problem: 'flowable-servicetask-missing-implementation'] : One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. - [Extra info : processDefinitionId = myProcessDefinition | processDefinitionName = MyProcessDefinition |  | id = test |  | activityName = Test | ] ( line: 7, column: 5)

Original issue: https://github.com/flowable/flowable-engine/issues/738

boris-petrov avatar Jan 26 '18 11:01 boris-petrov

The same applies for flowable:inheritBusinessKey="true" in callActivity <callActivity ... activiti:inheritBusinessKey="true"> is accepted but lost upon save <callActivity ... flowable:inheritBusinessKey="true"> breaks the designer and the diagram is not shown

JordanJordanov avatar Feb 22 '18 07:02 JordanJordanov

Just came across this problem. It effectively makes the Eclipse designer useless. No commits since 2016, yet it's mentioned prominently in the docs. If it's legacy then should be removed.

Stexxen avatar Sep 01 '19 14:09 Stexxen

We'd love a contribution to fix this - unfortunately, the core team doesn't have time to do it all :)

paulhh avatar Sep 02 '19 12:09 paulhh

What is the best way to get my environment set up in Eclipse? I'd love to work on this, as well as an IntelliJ plugin :). I don't have any experience writing Eclipse plugins, but downloading and opening the project in Eclipse, I'm getting some missing resources trying to build it, so before I troubleshoot, I thought I would ask if you might have any suggestions to give me a jump start.

pauldawg avatar Dec 17 '19 21:12 pauldawg