I know that this question appeared many times on this forum, but I think that there was no clear solution.
The problem is that I want to get the previous actor ID for given TaskInstance. At the moment when I try to call the method:
getPreviousActorId()on TaskInstance it returns null