diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/specs/start_event.py b/spiffworkflow-backend/src/spiffworkflow_backend/specs/start_event.py index dd8fb89a..5ffd93e2 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/specs/start_event.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/specs/start_event.py @@ -53,7 +53,7 @@ class StartEvent(DefaultStartEvent): # type: ignore elif isinstance(self.timer_definition, CycleTimerEventDefinition): cycles, start, cycle_duration = TimerEventDefinition.parse_iso_recurring_interval(evaluated_expression) time_delta = start - now_in_utc + cycle_duration - duration = cycle_duration.seconds + duration = cycle_duration.total_seconds() start_delay_in_seconds = int(time_delta.total_seconds())