Process extension properties

Hi,

I’m trying to add some process specific properties and read them using the REST API provided by Camunda. Here is how it looks like in Modeler.

The problem is I couldn’t find any way to read these values via REST (the only way I was able to get these values was by using the GET /process-definition/{id}/xml service - Camunda BPM documentation | docs.camunda.org but process definition data is related to the whole process, what I need is different data for different process instances).

  1. Is there any way to get these values through a web service call?
  2. If not, is there another way to set some process instance specific properties and be able to access them regardless of the current task?

Thank you!

Hi @tiberiu,

Process variables are used to to add data to process runtime state.

It is better to understand “Variable Scopes and Variable Visibility” before using them (see below link)

https://docs.camunda.org/manual/latest/user-guide/process-engine/variables/#variable-scopes-and-variable-visibility

You can set process variables using many ways like