On my app we have a table that refers to all quotations we made for our costumers and there is a button called "Aprovada" that updates a Enum column called "Status_Proposta" that has the options bellow:
- "Aguardando Aprovação" - in English: Waiting for Aproval
- "Aprovada" - in English: Approved -- THIS IS WHAT THE BUTTON IS REFERED TO
- "Não Aprovada" - in English: Not Aproved
We noticed that from the 20th until now when we click the button on a specific row data it does not update the column value. See the video bellow:
Anyone knows what is going on? This is happening only on this specific row
Solved! Go to Solution.
Based on the data sheet video, you are showing us that the value DOES initially change but then gets overwritten again with the original value BEFORE the change.
This is likely NOT a bug but an order of operations issue. AppSheet is a ROW-based editing system - meaning the entire row is applied on EACH edit being applied. If your action triggers multiple updates and one of those happens BEFORE the new value is set, it is possible for THAT update path to take longer and when the row is finally updated it contains the old value and overwrites the newer value.
You want to look at the actions and automations that are triggered based on your button tap and trace them through. Then correct for the order of activity so updates happen as you expect. If you need help with that, then please post what that action button is doing.
I hope this helps!
Based on the data sheet video, you are showing us that the value DOES initially change but then gets overwritten again with the original value BEFORE the change.
This is likely NOT a bug but an order of operations issue. AppSheet is a ROW-based editing system - meaning the entire row is applied on EACH edit being applied. If your action triggers multiple updates and one of those happens BEFORE the new value is set, it is possible for THAT update path to take longer and when the row is finally updated it contains the old value and overwrites the newer value.
You want to look at the actions and automations that are triggered based on your button tap and trace them through. Then correct for the order of activity so updates happen as you expect. If you need help with that, then please post what that action button is doing.
I hope this helps!
User | Count |
---|---|
34 | |
8 | |
2 | |
2 | |
2 |