Adding actor state lookup for transition logic