is it possible to change a process variable defined in the Camunda Modeler over the external Task ( in java). I tried the charge card worker example from https://docs.camunda.org/get-started/quick-start/service-task/#add-the-java-class. In this Java Class the value of the variable “amount” is retrieved from the process with this code:
Long amount = (Long) externalTask.getVariable(“amount”);
Could it be possible to update the valute of “amount” over the external task and to give the new value back to the running process?