What are the steps to reproduce your problem?
- Start the process instance which creates an incident (e.g. FailingProcess from Webapps development mode)
- Deploy the second version of the process
- Migrate process instance
- Call POST /history/process-instance with payload:
{"withIncidents":true,"incidentStatus":"open"
What is the problem?
Migrated process instance with open incident is not returned by the query
What would be the expected behavior:
Incidents must stay open after migration and corresponding process instances must be returned by the query.
Hints (optional):
During incident migration the end_time_ in the act_hi_incident table is filled with the migration date/time