AnsweredAssumed Answered

Upgraded from Activiti 5.22 to 6.0.1, how to get RuntimeServices from script task

Question asked by ens121 on Apr 12, 2018
Latest reply on Apr 20, 2018 by ens121

Took over some existing models that were used with Activiti 5.22 that made calls similar to this:



      {'blah1': execution.getVariable('blah1'), 'blah2Key': 'blah2Val'});


getEngineServices is not part of DelegateExecution in Activiti 6, so not sure how to change so the results are identical to what we were doing in 5.22.


I'm guessing the following call would result in variables being set on a different scope:

execution.setVariables({'...': '...'});