Enabling auto-storing of Script Variables by programatically

I was using spring boot version of Camunda 7.9.0 Rest API. I have modeled a bpmn with script task, wherein we have to use groovy script. The camunda spring-boot application doesn’t have any process.xml or bpm-platform.xml. The datasource setup was done in java config.

So how to enable the auto-storing of Script Variables?

Hi @aravindhrs
you have to set autoStoreScriptVariables to true in the process engine configuration. The configuration flag autoStoreScriptVariables is only supported for Groovy Script Tasks

1 Like