Extension elements

Hi all,

I am trying to integrate towards Camunda using the Rest API and the External Task pattern.

I don’t seem to find a way to retrieve the extension elements associated with a Service Task using the Rest API. Is there a way to get this information using Rest? I am specifically looking for the camunda properties.

Best Regards
/Peter

Hi Peter,

a common usage is to fetch process variables of an external task.

Since external tasks are executed outside the process engine, you have no access to the process instance or activity and can’t get additional properties from it.
However, you could use the Rest Api to retrieve the process definition as XML and use the Model Api to read it and access the properties.

Instead, you can just map the properties to variables and fetch them using the existing Api.

Greetings,
Philipp