Reserved Words true/false Cause ioMapping Error

I just created a simple diagram to test the download method:

Image

I filled in all the required fields, and I set the “File Downloaded” field to “Yes”:

Image

However, when I deploy the diagram, I get the following error:

'New BPMN diagram.bpmn': - Element: Activity_0p5angu > extensionElements > ioMapping > output
    - ERROR: Expected path expression 'true' but is one of the reserved words (null, true, false, function, if, then, else, for, between, instance, of).

If I set it to “No” instead, I get this error:

'New BPMN diagram.bpmn': - Element: Activity_0p5angu > extensionElements > ioMapping > output
    - ERROR: Expected path expression 'false' but is one of the reserved words (null, true, false, function, if, then, else, for, between, instance, of).

So I can’t deploy the diagram either way.

Tested on a self-managed Camunda Zeebe instance (version 8.7.7).

Hi @Francesco1, welcome to the forums! As you might know, this is a community maintained connector, not an officially support Camunda connector. It looks like it might not be compatible with Camunda 8.7. I did see that you already opened an issue in the repository; hopefully the maintainer can take a look!

Sorry, I didn’t think about it. Thank you for your reply!

Great! I’m glad I could help clarify the issue with reserved words in FEEL expressions.

To summarize the solution:

  • Problem: Using true/false as target variable names in ioMapping causes validation errors because they’re reserved words in FEEL
  • Solution: Use descriptive variable names like fileDownloaded, downloadStatus, or isFileDownloaded instead
  • Key takeaway: Avoid using FEEL reserved words (true, false, null, function, if, then, else, for, between, instance, of) as variable names

Your deployment should work perfectly once you update the output mapping with a valid variable name. Feel free to reach out if you have any other questions! :blush:

Actually, the field is of type “Select”, so I can only select “Yes” or “No”.

(Yeah, the bot isn’t super helpful with third party components - it’s something we are working on.)