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

ServiceTask extensionElements are removed at Process Definition edit

Open remibantos opened this issue 6 years ago • 3 comments

Describe the bug When a process definition file having an extensionElements element within a serviceTask element is edited, extensionElements are removed from the XML. For example, when you edit a Process Definition with a serviceTask having a failedJobRetryTimeCycle setting like bellow:

<serviceTask id="test" name="Test" flowable:async="true" flowable:expression="${someBean}"> <extensionElements><flowable:failedJobRetryTimeCycle>R60/PT1M</flowable:failedJobRetryTimeCycle></extensionElements> </serviceTask>

The corresponding xml file will just contain the following:

<serviceTask id="test" name="Test" flowable:async="true" flowable:expression="${someBean}"></serviceTask>

Expected behavior extensionElements should not be dropped from process definition as this is an official Flowable feature. See documentation here: https://flowable.org/docs/userguide/index.html#failRetry

remibantos avatar Jan 20 '20 12:01 remibantos

Note that, since Flowable 6.5.0 & #2009 PR, Flowable Modeler (not this designer) allows to edit and preserves existing failedJobRetryTimeCycle values configured within asynchronous service tasks.

remibantos avatar Feb 03 '20 13:02 remibantos

@remibantos What is Flowable modeler? I use Flowable design to design workflows and I did not see an option to specify failedJobRetryTimeCycle on Flowable design.

sagar-kalburgi-ripcord avatar Aug 27 '23 18:08 sagar-kalburgi-ripcord

@remibantos What is Flowable modeler? I use Flowable design to design workflows and I did not see an option to specify failedJobRetryTimeCycle on Flowable design.

It is the Flowable webapp on which you can build/ design business processes too.

remibantos avatar Aug 28 '23 06:08 remibantos