Abhitocode commented on code in PR #3890:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3890#discussion_r2098171102


##########
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:
   added "testTimerStartCycle" in case of format R/PT2S in StartEventTest.java, 
while for formats like PT10S tests like TimerStartDuration. 



-- 
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]

Reply via email to