Get taskid from usertask in zeebe-node client

Hi we want to sent an email to the assignee of a usertask. For this you need the taskid.
We where thinking of a parallel task which checks to whom the task is assigned.
But I don’t see a function to retrieve the taskid.
How could we accomplish this.

There is no lifecycle for user tasks at the moment - so the token enters a user task, and that’s it until the user task is completed.

That is, unless you implement the entire user task handler/interface yourself.

If you are using Tasklist, then it is a hand-off till the task is completed.

Josh