如何访问用户任务文档中的 camunda 变量(名称中包含点)

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

我想在用户任务 description/documentation 中显示变量的值。我可以使用 ${simpleVarName} 表达式访问简单变量,但无法使用 ${notSimple.varName} 表达式访问名称中包含点的变量。有没有办法在用户任务文档字段中访问此类流程变量?

我能够通过使用执行对象来解决这个问题。 ${execution.getVariable("notSimple.varName")}

此外,将变量名放在引号中也不起作用。表达式 ${"notSimple.varName"} returns 变量名本身不是值。