Thanks for your reply Maciej. I see the next task now. But completing all the task doesnt update the process instance details. Process instance stays in progress.
So I tried using the same session and it ended the process instance too.
Now, I remember using a new session everytime with HornetQ or Mina. Is this a difference here in case of a LocalTaskService?