Variable having "-" creating problem

Is there any restriction to variable names? when I tried with variable name like var-name, when this variable comes to zeebe engine, im unable to access it or unable to reassign to any other variable in workflow.

Any specific reason for this?


Let me know which version of Camunda are you using and i’ll try to replicate it.

Hi @Niall
its v8.4.0…

1 Like

Hi @camundabpmlearner,

when it comes to expressions, variables including a hyphen in its name (part1-part2-part3) will be interpreted as part1 minus part2 (minus part3)…

Don’t use hyphens, only underscores in variable names.

Hope this helps, Ingo


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.