Value of variable app in functions (purple blocks)

Hi

Ive updated my functions so that i ensure any setCell block will not continue untill its completed to keep the process synchronous. And as you can see in the screenshot, i set the debug app variables i initialize when opening the screen depending if there is and error or not

Still when calling the crearLog function which will create a new row is not populating the right values

Screenshot of the airtable where some columns have the initiallited value instead of the one set inside the functions…

Any idea why this behaviour? Does the values set in app variable inside a function only remain inside that function?