External Task name is not there in rest API response


I checked REST API documentation as well as tried implementation of Externaltask handler. But I am not getting “Name” field in response.

Can anyone please tell me the way to get “Name” of external task?

Hi @hardik,

Which rest api endpoint do you use and which Camunda version?
Are you referring this endpoint:

I am referring /external-task/fetchAndLock

I am using latest version of Camunda from following command. I installed just before few days.

docker pull camunda/camunda-bpm-platform:latest
docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest

The external task name is not exposed. The closest thing is the activityId:

Why do you need the external task name?
The request is based on the topic so I guess you already know which is the external task with this topic.

We might create external tasks with different names for the same topic. The topic is a “system” value, in other words, it is used to identity the “type” of task. Name is a process modeler’s descriptive name for the task. So it would make sense to have both.

If I am able to set the name of external-task then why don’t you provide the name?

The name is not exposed in the API, yet. As I said you can consider using the activityId. Other than that feel free to raise a feature request (Jira) or submit a pull request.