How to use a variable/expression in a <timeDuration> entry

In the open source designer, I have tried to add a reference to a process variable in the Time Duration text box for a timer. for example PT${myVarTimeout}M which would be resolved at execution time. However this did not work so that element in the bpmn engine must not be evaluating expressions at runtime.

Is there a way to program the duration of a timer with a process variable?


Hi @ericmandm,

I think that you can’t mix constant and expression in this attribute. Please try the following expression that should work: ${‘PT’.concat(myVarTimeout).concat(‘M’)}