Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: "Delay in seconds" of "Repeat" action should be dinamically redefined inside loop #4880

Open
margenn opened this issue Feb 7, 2025 · 1 comment

Comments

@margenn
Copy link

margenn commented Feb 7, 2025

What would you like to happen?

I put a variable Eg:${secForNextExecution} in Delay in seconds field. It's working OK for a fixed value, but...
I'm facing a specific necessity where the delay for the next execution shall be dinamically set.
I've try changing ${secForNextExecution} value by a javascript transform Eg: setVariable('secForNextExecution', '0', 'r')
I've set Keep variable values after executions = ON, create the parameter on Parameters/Variables to set: but no success.
So I think it is an action limitation.

Issue Priority

Priority: 3

Issue Component

Component: Actions

@hansva
Copy link
Contributor

hansva commented Feb 8, 2025

It's not an action limitation.
Variables are resolved at the start of a workflow or pipeline and can't be altered during its execution. You will need to set the variable in a parent workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants