N
Novu•16mo ago
lena_dooms

Variable settings in mail template not updating

Hi! I am building a new email flow and am using a couple of variables in the content. I have noticed that the settings for variables (defaultValue, isRequired) are set back to the novu defaults whenever I update, so it seems like there is no way to save them with the settings I want.
11 Replies
Gali Baum
Gali Baum•16mo ago
Hi @Lena_Dooms ! I opened a fix pr for this like, 30 minutes ago haha. Timing 🤩
It will be part of v0.17.0, which should be deployed in about a week
lena_dooms
lena_dooms•16mo ago
oh, awesome! Thank you!!
Gali Baum
Gali Baum•16mo ago
The values are actually being saved but the bug is that it 'shows' that they have been reset.
lena_dooms
lena_dooms•16mo ago
when I preview an email the values are also not updated there, that's also part of the not showing?
Gali Baum
Gali Baum•16mo ago
But, for now, as a workaround - you could update the variables default values as the last thing. If you exit the workflow editor and re enters it, you will see the values what do you mean? you don't see the variables at all? could you add a screenshot?
lena_dooms
lena_dooms•16mo ago
Following this flow: -I have some variables, settings are included in the first image. -I change the variables (second image) -I press update ->variables are displayed with old settings as you said ->when I preview my email, the default payload is also in line with the old settings
No description
No description
No description
Novu_Bot
Novu_Bot•16mo ago
@Lena_Dooms, you just advanced to level 2!
lena_dooms
lena_dooms•16mo ago
but the workaround also fixes that!
Gali Baum
Gali Baum•16mo ago
great. so will be part of 0.17.0 👌
lena_dooms
lena_dooms•16mo ago
perfect, thanks!!
Pawan Jain
Pawan Jain•15mo ago
Hi @Lena_Dooms This issue is resolved in 0.17.0 release
Want results from more Discord servers?
Add your server