I have an action that runs a function and then sends an email. The THEN
implies to me that it waits for the function to complete and then sends the email.
This does not seem to be the case. The function updates an object’s status (let’s say New → In Progress) but the email that is sent using the object’s status property still shows the original (New, rather than In Progress) so to fix this, I’ve ended up duplicating the logic to the email function.