-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature request: Modularize the Process Instance Migration #224
Comments
As the documented result of an in-person discussion with @ingorichtsmeier and @jonathanlukas, I added this pull request: #225. It is expected to change and help us find the best APIs and data structure. @pierre-yves-monnet, from the Slack discussion, I think that the example of the process instances JSON file is what you asked for: exampleProcessInstances.json. I'm curious about your opinion. Please add your input here. |
The example looks great. I love the idea of having a clear Importer, then, it will be possible to inject data from any other sources. Is this importer accept a JSON, or will it be a Java API like we already see? We have to take into account two others migrations features:
What about this JSON description for multi-instance:
Assuming:
We don't need to give the collection itself (it's on the process definition). In Camunda 7, it isn't possible to define local variables per instance. The only local variable is the "elementVariable", which can be recalculated from the collection or the Loop. |
I would like the multi-instance be a separate activity to be able to distinguish its data from the data that is inside the actual multi-instances: "activities": [
{
"reviewInvoices": {
"type": "multiInstance",
"inputVariableName": "invoice",
"completedInstanceVariableValues": [...]
"instances": [
{
"type": "callActivity"
"inputVariableValue": {...}
"variables": {...}
}
]
}
}
] The same could apply for a loop multi-instance, there would be no completedInstanceVariableValue, but completedIndices and not inputVariableValue, but index. |
Is your feature request related to a problem? Please describe.
In the future, users want to migrate a huge number of process instances from Camunda 7 to Camunda 8. Or migrate from other process engines to Camunda 8.
This topic should be discussed in this issue.
Describe the solution you'd like
Describe alternatives you've considered
nothing
Additional context
nothing
The text was updated successfully, but these errors were encountered: