[Feature Request]: Allow Variables in Repeat Section of Start Action
What would you like to happen?
Currently, in the Start action configuration of Apache Hop, the Repeat section only allows fixed interval values to be selected from dropdown menus (e.g., predefined values for Seconds, Minutes, etc.).
It would be very helpful to support the use of variables (e.g., ${REPEAT_SECONDS}, ${REPEAT_MINUTES}) in these fields, similar to how variables can be used in other parts of Apache Hop.
This would allow for more flexible and dynamic scheduling setups, where repeat intervals can be defined or overridden at runtime via environment variables.
Issue Priority
Priority: 2
Issue Component
Component: Actions
FYI: as mentioned in the docs, the repeat options in the Start action are mainly there for historical reasons.
FYI: as mentioned in the docs, the repeat options in the Start action are mainly there for historical reasons.
Hi, thanks for the link.
Does that mean it's unlikely that this feature will be implemented? Just because it's included in the code for historical reasons doesn't mean it can't be developed further to provide additional value.
One of our currently migrated PDI projects quite heavily rely on the "Repeat" functionality of the Start transform.
Two suggestions for the docs:
- when "Repeat" is checked, already the first execution gets delayed by the specified amount of time
- when you UNcheck "Repeat", the interval times get greyed out, but STILL they have have effect by delaying the first (and here: only) execution (question remains that if it is the desired behaviour that a greyed-out variable has an influence? but that's part of https://github.com/apache/hop/issues/5459)
At least this was easy to do. I also added an option to not execute at the first execution and fixed bug #5459