[DONE] ASSEMBLING_VARIABLES_FAILURE - Update Record Email Field via "Calculation"

My colleague @Kollaborateur and I have discovered a bug that seems to occur when fields are given an insufficient value. In our case, we wanted to update email fields and used the “Calculation” option in the “Update Record” action. As the value entered - an output of an “Execute a Script” action - was only a string, the entry appears to have been “broken”. After the update, it was no longer possible to run an automation on the entry. The automation then failed at the point “And if the following conditions are met” and generated the error shown in the screenshot. The bug could be fixed by replacing the email fields with single-line text fields.

We suspect that the cause is that email fields contain an object consisting of at least the keys “type” and “value”. With our update, we have set a string as the value instead of an object. The result: Computer says no.

2 Likes

Hi @timbe,

thank you for sharing your issue and for the detailed report. Indeed, it seems there was an issue with workflow automation variable setup in certain scenarios where email fields were filled, and then cleared later on.

We improved robustness of the workflow variable setup step w.r.t. email and phone fields to handle that case properly.

Would you like to try your scenario again and confirm the fix? :partying_face:

Thank you & Cheers
Tim

2 Likes