Aug 18, 2023 02:46 PM
HI,
I have the following problem - pls see also the screenshot enclosed for deeper explanation.
Thank you!, Chris
Solved! Go to Solution.
Aug 18, 2023 07:24 PM
There is a problem with the use of updateRecordAsync.
updateRecordAsync is an asynchronous process, and executing it in succession like this will not reflect the changes immediately.
All fields need to be updated in a single updateRecordAsync run.
await table_tacs.updateRecordAsync(per_positive_tac, {
[nameCheckedtoSplit]: 1,
[nameReplacedBy]: [{id: newrecord_miete},{id: newrecord_BK}]
})
Aug 18, 2023 07:24 PM
There is a problem with the use of updateRecordAsync.
updateRecordAsync is an asynchronous process, and executing it in succession like this will not reflect the changes immediately.
All fields need to be updated in a single updateRecordAsync run.
await table_tacs.updateRecordAsync(per_positive_tac, {
[nameCheckedtoSplit]: 1,
[nameReplacedBy]: [{id: newrecord_miete},{id: newrecord_BK}]
})
Aug 18, 2023 09:56 PM
Dear @Sho : wow, perfect, thank you! So I had 2 mistakes; not reflecting the asynchronity and writing an error in the code when updating with more than 1 link (which I tried before..). Thank you so much for the fast and helpful response! br Chris