Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceTask extensionElements are removed at Process Definition edit #17

Open
remibantos opened this issue Jan 20, 2020 · 3 comments
Open

Comments

@remibantos
Copy link

remibantos commented Jan 20, 2020

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
Copy link
Author

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.

@sagar-kalburgi-ripcord
Copy link

@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
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants