Email side effect does not run after function

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.

Hi @lxia,

I’ll let someone from the actions team reply, but in the meantime a potential solution would be to use Automate with a condition being the status property changing to “In Progress” and the effect being a notification.

I hope this helps!