It seems I can’t use a variable in the method
updateRecordAsync(record,{"field": value)
In the head of my script, I ask which field needs to be updated.
(ps: I use pseudo-code here to keep my question brief. Everything works, except the last line)
i...