Getting the latest user task happened in a process


Hi all,
In a process with multiple lanes/ users, we have throw/ catch links that end to a service task that sends a mail message to admins that something went wrong.
In this message, at 5.9x, we added the username of the latest Task that had been executed from the list:

At 7.5 how can we do that?

Functions like
apiAccessor.getProcessAPI().getLastStateHumanTaskInstance() require the taskName, which in our case, it is not know.

thanks in advance.

No answers yet.