-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Implement workflow versioning and keep the existing instance upon import #15496
Comments
I assume this is cleaned up because the instances might be in a state that is incompatible with the new definition? Can you link to the code that is doing it? An option could be to have a flag in the workflow definition step to not clean the instances. |
Yes, here , at line 77. OrchardCore/src/OrchardCore.Modules/OrchardCore.Workflows/Recipes/WorkflowTypeStep.cs Lines 49 to 80 in 7d83e81
|
And here OrchardCore/src/OrchardCore.Modules/OrchardCore.Workflows/Services/WorkflowTypeStore.cs Lines 71 to 84 in 7d83e81
|
Is your feature request related to a problem? Please describe.
At present, the imported workflow type always cleans up the workflow instances of the process.
In some cases, we want to keep them, otherwise the process in progress will be cleaned up.
Describe the solution you'd like
There was a note in the source code before, which gave the scheme. We should implement the workflow version.
Describe alternatives you've considered
No
The text was updated successfully, but these errors were encountered: