Is it possible to configure the retry time cycle for an activity with expression like this ${retryPeriod} ?
The retryPeriod may have value like this: R5/PT10M
I’m able to do this for timer event for duration attribute.
When I tried for Retry time cycle, i get below error:
2017-05-17 06:08:33,453 SEVERE [org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd] (job-executor-tp-threads - 43) Failure while executing org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd for job id ‘c8d3167d-3ae8-11e7-98ae-fa163e1b3769’. Falling back to standard job retry strategy.: java.lang.IllegalArgumentException: Invalid format: “${retryPeriod}”
at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:866)
at org.camunda.bpm.engine.impl.calendar.DateTimeUtil.parseDateTime(DateTimeUtil.java:43) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.calendar.DateTimeUtil.parseDate(DateTimeUtil.java:47) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.calendar.DurationHelper.(DurationHelper.java:67) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd.getDurationHelper(FoxJobRetryCmd.java:142) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd.executeCustomStrategy(FoxJobRetryCmd.java:78) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.cmd.FoxJobRetryCmd.execute(FoxJobRetryCmd.java:55) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:97) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:59) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32) [camunda-engine-7.2.8-ee.jar:7.2.8-ee]