ServiceTask extensionElements are removed at Process Definition edit
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
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 What is Flowable modeler? I use Flowable design to design workflows and I did not see an option to specify failedJobRetryTimeCycle on Flowable design.
@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.