How to complete a "USER_TASK" in zeebe-client of version 1.1.0 stable?

How to complete a “USER_TASK” in zeebe-client of version 1.1.0 stable?I can’t find a api that could requet the broke to complete a user-task.
Did I ignore something?
I’m a beginner. Please help me.
For example:
What shall I do,if want to complete the user task in client(java)?

Hi @670017569,

first, welcome to the Zeebe community :tada:

Usually, user tasks are performed by Tasklist. A user claims a task and completes it using the application.

However, if you really want to complete the job by a client then you should use the same API as for service tasks.

All user tasks have the job type io.camunda.zeebe:userTask as described in the docs.

You could get the jobs for example by using a job worker. Then, use the complete command with the key of the job.

Does this help you?

Best regards,
Philipp

2 Likes

Thank you for your reply.I probably know how to do it.