Skip to content

Commit 10d4ef8

Browse files
committed
wip
1 parent 7aa4c30 commit 10d4ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-migrator/core/src/main/java/io/camunda/migration/data/impl/history/migrator/IncidentMigrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public Long migrateTransactionally(HistoricIncident c7Incident) {
125125
}
126126
}
127127

128-
if (dbModel.jobKey() == null) {
128+
if (isFailedJobIncident(c7Incident) && dbModel.jobKey() == null) { // nope, only async
129129
throw new EntitySkippedException(c7Incident, SKIP_REASON_MISSING_JOB_REFERENCE);
130130
}
131131
c8Client.insertIncident(dbModel);

0 commit comments

Comments
 (0)