- the "claimDate" field is added to user tasks (in index optimize-process-instance), similarly how it is done in the new import.
For the changes in the metrics calculations done in
OPT-2260 it was necessary to introduce a new "claimDate" field for the user task documents.
This new field is only used for running user tasks, and running user tasks will be newly imported in 2.5,
but completed user tasks already imported in 2.4 optimize will have incomplete data, which might lead to problems in the future.
Therefore the optimize upgrade should take this into account and migrate the data correctly for completed user tasks as well.