AnsweredAssumed Answered

Regression. Timer variable not resolved 5.8 -> 5.9

Question asked by mikfreeman on Apr 3, 2012
Latest reply on Apr 5, 2012 by mikfreeman
Hi,
   Huge Activiti fan but I'm stumped by this one. I'm using a "ProcessConfig" class to look up various properties.
However following an upgrade from 5.8 to 5.9 the below configuration no longer works.
The timeDuration property in the Timer event is not resolved and as a result the Timer is effectively ignored.

<intermediateCatchEvent id="timerintermediatecatchevent3" name="Wait for Collection">
  <timerEventDefinition>
    <timeDuration>PT${processConfig.getDuration('timeBetweenTasks')}S</timeDuration>
  </timerEventDefinition>
</intermediateCatchEvent>

Setting the "timeBetweenTasks" directly as a variable without using the "processConfig" class works.

<intermediateCatchEvent id="timerintermediatecatchevent3" name="Wait for Collection">
  <timerEventDefinition>
    <timeDuration>PT${timeBetweenTasks}S</timeDuration>
  </timerEventDefinition>
</intermediateCatchEvent>

Any ideas on how to resolve this?

Thanks

Michael

Outcomes