This is on the back of a issue a client indentified with their App. Seems a strange way for Appsheet do it, but let me explain the issue anyway.
So I have a table where you can click the tick box to choose multiple rows. Then you can choose an action that runs on all those rows. My assumption was it would do each row in turn, but it doesn’t.
As a test I created a grouped action that simply writes “test” into a cell then clears it. So I used the tick box to select 3 rows and ran the action. The sequence I expected to see in Google Sheets was:
BLANK
BLANK
BLANK
Test
BLANK
BLANK
BLANK
BLANK
BLANK
BLANK
Test
BLANK
BLANK
BLANK
BLANK
BLANK
BLANK
Test
BLANK
BLANK
BLANK
But what actually happens is:
BLANK
BLANK
BLANK
Test
BLANK
BLANK
Test
Test
BLANK
Test
Test
Test
BLANK
Test
Test
BLANK
BLANK
Test
BLANK
BLANK
BLANK
This causes mayhem because the real action uses the change from BLANK to Test create a ton of new rows in a different table. But importantly with a reference value from this table that calls the action. So my client chose 24 rows and ran the action. With the result we now have 4000+ rows all referenced to the first row.
Is this by design? Am I doing it wrong? Or is this a bug? Since it would seem logical to me to fully complete the sequence within each action before going on to the next row.