martinweiler commented on code in PR #3890:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3890#discussion_r2054824091
##########
jbpm/jbpm-flow/src/main/java/org/jbpm/process/instance/AbstractProcessRuntime.java:
##########
@@ -147,7 +147,7 @@ private ExpirationTime configureTimerInstance(Timer timer) {
// when using ISO date/time period is not set
long[] repeatValues =
DateTimeUtils.parseRepeatableDateTime(timer.getDelay());
if (repeatValues.length == 3) {
- return DurationExpirationTime.repeat(repeatValues[1],
repeatValues[2]);
+ return DurationExpirationTime.repeat(repeatValues[1],
repeatValues[2], (int) repeatValues[0]);
Review Comment:
@Abhitocode https://github.com/apache/incubator-kie-issues/issues/1922
mentions an issue with Start timers and the format PT10S - this would be
`Timer.TIME_DURATION` handled further below.
We should make sure Start timers in both formats (eg. PT10S, R/P1D) are
working. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]