Workflows document value synchronization

Hello, I am sorry if this has been asked before. I could not find anything.

GetA12 has following paragraph: “Values can be synchronized from a document to the Task that it is associated with in Camunda. To do this, you need to annotate the desired fields with availableInProcessAs and provide a variable name under which the value will be available as a Process Variable in Camunda.”

We have set the annotation value to “genehmigung” and would like to reference it in a Camunda condition. Previously the condition was “#{HF1_Prozess_WF.root.genehmigungsverfahren.genehmigung.genehmigung == “JA”}”. How would this look like with the now workflows architecture?

Thanks in advance.

I would guess, #{genehmigung == “JA”} . Does it not work?

Our hope was that by setting the annotation value to HF1_Prozess_WF.root.genehmigungsverfahren.genehmigung.genehmigung
camunda would store the value unter path HF1_Prozess_WF.root.genehmigungsverfahren.genehmigung.genehmigung in the task variable tree and that you would’nt had to change the condition at all. Did this also not work properly?

Having it as a path here seems to not work. I will try the other way.

#{genehmigung == “JA”} worked.