After starting a process instance, the process is stuck at the first state as it should. I can see the External Task instance with the name emailListener getting created (in cockpit view).
But then the client is not picking up the task and not working on it.
Thanks.
I got it fixed. It was actually error in the datatype mismatch in setting variable to execution. Since I was not able to see any error in console, I thought external task is not getting picked up.