Ankit Tyagi
Ankit Tyagi

Reputation: 35

how to access a camunda variable (containing dot in name) in user task documentation

I want to show value of a variable in user task description/documentation. I am able to access simple variables using ${simpleVarName} expression but not able to access variables containing dot in name with ${notSimple.varName} expression. is there a way to access such process variables in usertask documentation field?

Upvotes: 1

Views: 1098

Answers (1)

Ankit Tyagi
Ankit Tyagi

Reputation: 35

i was able to solve this by using execution object. ${execution.getVariable("notSimple.varName")}

Also, putting variable name in quotes did not work. expression ${"notSimple.varName"} returns variable name itself not value.

Upvotes: 2

Related Questions