Camunda and tables

it stays empty {} at all times… :confused: but the variable exists…

And the variableNames parameter contains the variable name? If so, could you check if the variable exists, e.g. with Cockpit?

it exists, it’s just empty :confused:
Name Value Type
customVariable String

I mean, I get how you create the additional variables. What I dont understand is how you say that the variable belongs to the input with the ID xy and how I would add my var of clicks into the camunda script thing…

I am sorry, I don’t understand your question. If you create variables dynamically you need to manually assign the variable value as is described in this example. How you get the value fromthe input field is up to you, that is just pure Javascript.

I have a var length in javascript. and i need that var again in my next task. How would I manage that?

I’d recommend to read this user guide section about process variables and possibly this Getting Started example.