Order of StartupActions, not using newly set value in $let

I’m using StartupActions to set a value into a field with $action-setfield. After that, another $action-setfield in the StartupActions uses that field value to create a tiddler, and is using the correct newly set field value just fine.

However, there is another $action-setfield that is assigning a value based on a filtered transclusion defined by a $let that goes around that $action-setfield. That filtered transclusion is using the OLD value from the field, even though it should have been set to a new value, and other $action-setfields are using the new value when they aren’t getting a value assigned by $let.

It seems the $let is reading the old value before the $action-setfield above it is able to set the new value. How do I get the filtered transclusion to use the newly set value?

Try adding

\define tv-action-refresh-policy() always
or
<$let tv-action-refresh-policy="always">

at the start of your StartupAction tiddler. This should force the $let widget to be refreshed after each $action-setfield widget is invoked.

see https://tiddlywiki.com/#ActionWidget%20Execution%20Modes for more info

-e

That did it! Thank you so much