Zeebe variable name

Hi, I’m doing some tests using condition expressions, and I would like to know if it has some limitations when using variable names with snake-case.

When I try to deploy the BPMN file, I got this error message:

- ERROR: Condition expression is invalid: [1.24] failure: expected comparison operator ('==', '!=', '<', '<=', '>', '>=')

And the console shows an arrow on the “-” character.

Can I use snake-case, or only camel-case variable names?

@naka Can you please share a reproducer? Or at least how your expression looks like?
Cheers

Variable names can be formatted as camelCase or snake_case. But other operators like - (dash) are not allowed.

For example:

totalOrder

total_order
2 Likes