Thanks Maciej,
If I try above example, the actor ID for the swimlane gets printed fine.
However, the task in that Swimlane still doesnt show up in the user queue. i.e. if I set the actor ID to 'mary', the task still doesnt show up in mary's queue. Infact, I dont see the task anywhere (it's not present in any of the configured user's queue).