When this runs, I get two emails. The first email is just the values I would expect from the object (weekNumber, shipmentTotal, savings, averageSavings, savingsShipments).
The second email comes with the template text, but all the places the template values should be are blank.
Could the “shipmentCountList” and “shipmentSavingsList” be changed by some other logic?
The test of sending an email with the values does not technically prove that the data is there. By the time logic gets to the “Send Email from Template”, the underlying lists could have been modified by some other logic.
Alternatively, you could save the object you create for “Send Email” in a variable and use that variable in “Send Email from Template”.
Did you change anything? I have other logic that also uses the Send Emial from Template block that sends me an email every hour so I can pinpoint the day and hour when it stopped working.
It is really strange. I also didn’t change anything.
Looking at another example, you can see in the middle of the night (for me), the code stopped sending template values that are not strings -
Look at Completed and Rows where I highlighted. The emails sent at 1:55 and 2:55 both show “Competed” as true (boolean) and Rows (numeric). At 4:55 am “Completed” and “Rows” are blank.
If this update on your slack channel was in real-time, it happened just after the 7.0.5 version was released. This announcement was from 10/26 at 4:10am. My 4:55 am update no longer showed non-string values.
The issue you encountered was related to a recent update where we introduced a new feature for email notifications. Unfortunately, it led to an unintended regression. We have since rectified the problem, and your confirmation that the fix worked is greatly appreciated.