Templating syntax: {{variable}} is empty in Text View

I use Camunda Platform 8.2.1 locally using docker compose.

Using the {{variable}} insert in a text view doesn’t work except there is a text field for that variable.

I have prepared an example process that demonstrates this behavior (see attachment).

  • The start element outputs the variable “my_content” (setting it to “This text is expected.”).
  • The first user task contains (within a Camunda form) a text view using {{my_content}}. When I view the task in tasklist, the content of my variable “my_content” is hidden, but I expected it to be visible.
  • The second user task contains the same form and an additional text field using “my_content” as key. In tasklist, both text elements display the text.

I think this is a bug, since I did not find any related info in the documentation. But if it is intentional I’d like to know where my thinking went wrong.

variable-insert-only-with-text-field.bpmn (4.6 KB)

Thanks for reaching out, we already fixed that bug and it will be working again with upcoming Tasklist 8.2.3: https://github.com/camunda/tasklist/issues/2770#issuecomment-1521381651