ENGINE-1822: add methods to get last archive data instances of a process
or an activity instance