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

In Data migrator, Add validation of the runtime state #4999

Open
1 task
Tracked by #4981
yanavasileva opened this issue Mar 11, 2025 · 0 comments
Open
1 task
Tracked by #4981

In Data migrator, Add validation of the runtime state #4999

yanavasileva opened this issue Mar 11, 2025 · 0 comments
Labels
scope:data-migrator Changes to the Data migrator project. type:task Issues that are a change to the project that is neither a feature nor a bug fix.

Comments

@yanavasileva
Copy link
Member

yanavasileva commented Mar 11, 2025

Acceptance Criteria (Required on creation)

  • Add validation of the runtime state and log an error if the process instance is in an incompatible state.
    • Skip process instance when state is not migratable.
    • Migration should continue if a problem occurs, but it should be logged so the user can address it later.
    • If an error occurs that doesn’t allow a process instance to be migrated, we should remember this process instance as skipped and allow us to retry it later on.
    • Exception handling: Any thrown exception would break the continuation of the migration. Wrap around instance creation and mark the instance as skipped (info). Print exception in (debug).
    • Handling of multi-instance scenario (unsupported).
      • If activityId contains #multiInstanceBody => skip whole process instance and log this, multi instance scenario is not supported
      • Clean up if any existing multi-instance code.
      • Add tests
      • Document limitation

Hints

  • Time estimate: 2 days

Links

Breakdown

Pull Requests

Preview Give feedback
No tasks being tracked yet.

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
@yanavasileva yanavasileva added type:task Issues that are a change to the project that is neither a feature nor a bug fix. scope:data-migrator Changes to the Data migrator project. labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:data-migrator Changes to the Data migrator project. type:task Issues that are a change to the project that is neither a feature nor a bug fix.
Projects
None yet
Development

No branches or pull requests

1 participant