I try to compare process endedDate with version "modifiedAt" date ...
Is this the right comparison to do ?
It seems not
Here 3 versions .. I cannot know the one to choose ..
Completed #1084545 on value: Progress Report # 12 v1.2.docx (nodeRef=679a519e-3cc4-481d-8e87-c1d8638034b8) by JB221813 type=validationHierarchique:159:1072212
process end date = 2022-01-10T09:45:09.000+0000
v1.2 @ 2022-01-04T08:55:10.559+0000 diff=-521399(s)
v1.1 @ 2022-01-03T10:14:18.144+0000 diff=-603051(s)
v1.0 @ 2021-11-16T15:05:11.080+0000 diff=-4732798(s)
When there is only one version, thoses date are not the same..
Completed #1082664 on value: blabla.docx (nodeRef=74a503c8-0074-4ed3-9bf5-38be710db8f8) by HR124135 type=validationHierarchique:159:1072212
process end date = 2022-01-10T14:38:58.000+0000
v1.0 @ 2021-12-22T15:35:33.971+0000 diff=-1638205(s)