-
Notifications
You must be signed in to change notification settings - Fork 460
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
Add clarity around variables used with scheduled triggers #2800
base: main
Are you sure you want to change the base?
Add clarity around variables used with scheduled triggers #2800
Conversation
✅ Deploy Preview for n8n-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Overall readability score: 44.9 (🔴 -0.01)
View detailed metrics🟢 - Shows an increase in readability
Averages:
View metric targets
|
@MarcL Many thanks for your efforts here - I'm going to add some comments/suggestions as I see there have been some questions and issues related to this and it would be good to clear them all up at once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @MarcL. Just a few comments to hopefully make this even more useful!
|
||
### Variables not working as expected | ||
|
||
While variables can be used in the scheduled trigger, their values only get evaluated when the workflow is activated. After activating the worfklow, you can alter a variable's value in the settings but it won't change how often the workflow runs. To work around this, you must stop and then re-activate the workflow to apply the updated variable value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the queries I have seen have been along the lines of "If i have a schedule of 1 hour and I edit the workflow and save it, does the one hour reset to from the time I saved it?" It would be good if we could answer that here too!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evilnick - Do you mean that I should add this as a separate point? It's not related to variables right?
Add some clarity around how variables don't work as expected with scheduled triggers: