# Create row block not working well from yesterday

**URL:** <https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050>\
**Category:** Questions about Thunkable X\
**Created:** [October 9, 2020, 1:40pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050 "2020-10-09T13:40:30Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![francabral](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@francabral](https://community.thunkable.com/u/francabral)\
**Post date:** [October 13, 2020, 6:34pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/21 "2020-10-13T18:34:21Z")

</div>

a mi me sigue sin funcioanr y a vos?

---

<div class="post-metadata">

**Author:** ![bilastois](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bilastois](https://community.thunkable.com/u/bilastois)\
**Post date:** [October 13, 2020, 7:04pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/22 "2020-10-13T19:04:20Z")

</div>

picture is your application codes.

where is create row block?

you demo application does’nt work change values of datasource on listwiver\_1  
i fix this problem. can you send picture **create row** block?

 ![Adsız](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/d/8d665ea67199abb7ee3961ba8fddd7d91b24c901.jpeg)

---

<div class="post-metadata">

**Author:** ![doctorsof](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/doctorsof/32/30099_2.png) [@doctorsof](https://community.thunkable.com/u/doctorsof)\
**Post date:** [October 13, 2020, 7:05pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/23 "2020-10-13T19:05:19Z")

</div>

Same issue. Create and Delete row

---

<div class="post-metadata">

**Author:** ![mmendelow](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mmendelow](https://community.thunkable.com/u/mmendelow)\
**Post date:** [October 13, 2020, 10:19pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/24 "2020-10-13T22:19:59Z")

</div>

Still haven’t heard anything back from Thunkable support- VERY disappointing. I noticed when inspecting as a web app that there is a console error when the Create Row block is called. I’m guessing this is causing the code to crash and not execute any further. If this is the case, there is nothing we can do - we are at their mercy to fix this. My suggestion is that we all post on their social media so they know how important this is - Twitter, Insta, Facebook. I have already done so…

![Screenshot 2020-10-13 at 6.13.45 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/6/062358182c959635655207c5662720847a59d91f.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 14, 2020, 3:59am UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/25 "2020-10-14T03:59:14Z")

</div>

@mmendelow, these comments are from today on the bug post I linked to above:

 ![Screen Shot 2020-10-13 at 8.58.05 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/11be2de2f88897aab1e2759229af49b8383b26f4.png)

---

<div class="post-metadata">

**Author:** ![mmendelow](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mmendelow](https://community.thunkable.com/u/mmendelow)\
**Post date:** [October 14, 2020, 3:10pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/26 "2020-10-14T15:10:12Z")

</div>

Thanks @tatiang this is encouraging

---

<div class="post-metadata">

**Author:** ![doctorsof](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/doctorsof/32/30099_2.png) [@doctorsof](https://community.thunkable.com/u/doctorsof)\
**Post date:** [October 14, 2020, 8:09pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/27 "2020-10-14T20:09:06Z")

</div>

Ios 14.01, Iphone 11, Test App:  
Delete And Create function not working well.  
It had working 3-4 days ago.  
I think Thunkable team are working Develop for Data Viewer.  
Please working without this system So all of our app affecting.

My block is similar:  
I used left swipe for create (different data view) And delete same time for same id. (Used loading icon, loading icon seeing always i mean crashing :))  
Thanks.

---

<div class="post-metadata">

**Author:** ![mmendelow](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@mmendelow](https://community.thunkable.com/u/mmendelow)\
**Post date:** [October 17, 2020, 1:44pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/28 "2020-10-17T13:44:08Z")

</div>

This looks to be fixed this morning!

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [October 17, 2020, 2:21pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/29 "2020-10-17T14:21:20Z")

</div>

this isnt working for me

maybe the rollout hasnt hit me yet?  
 ![Screen Shot 2020-10-17 at 10.20.55 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c62b0f7b79b99eff9c7487d27149239b30d18b29.png)

and delete rows blocks the next action here

 ![Screen Shot 2020-10-17 at 10.21.48 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/a/4a9c7d2c5a499744aa225d0f1166c45bd706d5ac.png)  
the Debug label never changes

any ideas here guys?

[UPDATE]  
So i am seeing strange behavior.

i created this project

 ![Screen Shot 2020-10-17 at 1.36.13 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e4a5cafdc759f8dfc256ca9f52e4143364706b00.png) ![Screen Shot 2020-10-17 at 1.36.08 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36864359ca24eadec8f7ae907ef514cd9622a595.png)  
[https://x.thunkable.com/copy/c0ef52553ad4dea0bbe04992ef1b7744](https://x.thunkable.com/copy/c0ef52553ad4dea0bbe04992ef1b7744)

which works fine in live previw but not on my iPhone. is this an issue with the companion app? when i use preview in chrome on my macbook, the app works as it should. it makes and displays the rows almost instantly. when I run on my phone and press the bbutton, nothing happens.

can anyone else verify this behvavior?

@tatiang, i tested your app and see the same thing. mind checking mine?

anyone else with an iphone mind testing this out?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 17, 2020, 2:52pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/30 "2020-10-17T14:52:19Z")

</div>

The demo I posted above ([https://x.thunkable.com/copy/551a9c7dd159b9bd74a4629c8d9faf73](https://x.thunkable.com/copy/551a9c7dd159b9bd74a4629c8d9faf73)) should show “C” when you click the button. It didn’t a moment ago but… I did a hard reset of the browser tab (shift-click on the reload button in Chrome) and… tada! “C” appears!

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [October 17, 2020, 3:17pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/31 "2020-10-17T15:17:53Z")

</div>

Will try again shortly!!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 17, 2020, 3:34pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/32 "2020-10-17T15:34:57Z")

</div>

Although, it’s still not working perfectly. If I add a Wait block inside of a Create Row or Delete All Rows block, it doesn’t run the Wait block. My understanding of the “do” section of those blocks is that it should run after any CRUD-related code and shouldn’t be affected by the timing of anything else.

I modified my demo to add wait blocks. Instead of seeing “B”… “C”, I just see “C”. If I remove the “C” block, I see “B”.

 ![Screen Shot 2020-10-17 at 8.31.56 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44ebfcfef82d51f99bab1c6daeee15e405b30e5d.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [October 17, 2020, 6:13pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/33 "2020-10-17T18:13:18Z")

</div>

Let me expand on @jaredgibbs example. I opened it on his iPhone in the companion app. Then looked at the blocks. See this image. It would appear there is some communication issues perhaps?  
The blocks aren’t showing correct labels. When I click the down arrows there is nothing to choose from.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/d/8d5981ae235a36ca1d5f131b8f73b634a79be12a.jpeg)

Strange behavior here

[https://res.cloudinary.com/behaviorreportcard/video/upload/v1602972283/IMG\_3336\_e4jq2w.mp4](https://res.cloudinary.com/behaviorreportcard/video/upload/v1602972283/IMG_3336_e4jq2w.mp4)

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://community.thunkable.com/u/Steven)\
**Post date:** [October 19, 2020, 9:17pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/34 "2020-10-19T21:17:34Z")

</div>

I’m not sure I’m following your example here. I agree that the do section of the block should run after the creation is complete however, there is no guarantee as to when this will be. In fact, I think in almost all cases it should run in the order of `set text to A` =\> `create row` =\> `set text items to list of values, set text to C` =\> `create row do section`.

So, I’m not sure what we learn by adding the wait to the end of the do section? It is important to remember that if you’re dealing with local data the delay introduced by creating the row will be minimal so it is possible that the operation is completed so quickly that you only see the label as C for 1 (or potentially even 0) frames that are rendered. I expect that if you were using an external data source (Google sheets or Airtable) you would see the C for a half second or so while the data is being created and waiting for the response from the API.

I ran some quick tests to see if everything was working as I expected and it seems to be. Here are the examples I used (not at the same time but all in the same picture for easier viewing). Give these a try and see if they work for you. If not, let me know and we can dig deeper into this. Also, if I’m misunderstanding your question I apologize. Please take another stab at explaining it to me 🙂

 ![Screen Shot 2020-10-19 at 2.15.06 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5a39c5e4453bdbf3d7bdd9f777ec02f86be7625d.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 19, 2020, 9:26pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/35 "2020-10-19T21:26:43Z")

</div>

Sorry, @Steven, it’s hard to explain this with just text. I might make a short video to explain it.

But for now, I’ll just add that what I expected to happen is that I would see “A” **very briefly** (probably not noticeable), then “B”, then a delay of two seconds, and then “C.” But there is no delay when I preview those blocks. It’s as if it skips the wait block entirely. I press Preview/Live Test and I just see “C”. So looking at your screenshot, it sounds like you did observe a delay with your wait blocks. I did not.

I don’t have a long-term need to add Wait blocks inside of Create Row blocks but I find it very useful when debugging and/or needing to slow things down to see what’s happening (e.g. changing a label’s text to a variable value and then waiting a couple seconds).

My larger question, which I probably didn’t highlight very well above, is: how do I ensure that a block runs **after** (and only after) a new row is created in the local data source? I assumed that the “do” area of the create row block is the place for that. But when does the block immediately below the create row block get evaluated? Does that happen as soon as the “create row” block is evaluated or does it only happen after the “do” section is completed? Again, I probably should just make a video! 🙂

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://community.thunkable.com/u/Steven)\
**Post date:** [October 19, 2020, 9:57pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/36 "2020-10-19T21:57:30Z")

</div>

Ah I see! No, this is a great question that has a fairly complicated answer. Basically the simplest way to think about it is that if a block has a `then do` section, the block will begin to process whatever even it is for (create a row in this case) and will then continue on to the blocks beneath it while the code waits for a response on the initial function (again create row in this case), once that work is completed, the `do` section of the blocks will then run.

So, if you want something to have after the `create row` (or any block with a `then do` section) is finished, you should put it in the `then do` section. Blocks beneath it (in your example, the set label text to C) will run after we started the work on the `create row` block but before it has completed. So, your wait block in the `then do` section is actually working it just waiting with no other blocks following it. If you add something like changing the screen background color after the wait block you will observe it waiting and then changing the color.

Does that make sense? This is maybe something we should have clarifications for in the docs somewhere because it definitely isn’t simple.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 19, 2020, 10:06pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/37 "2020-10-19T22:06:30Z")

</div>

> [@Steven](#):
>
> Basically the simplest way to think about it is that if a block has a `then do` section, the block will begin to process whatever even it is for (create a row in this case) and will then continue on to the blocks beneath it while the code waits for a response on the initial function (again create row in this case), once that work is completed, the `do` section of the blocks will then run.

Awesome. Very clear! Thank you!

This repeat until method by @drted is then quite useful to halt the continuation of block evals: [Wrapping Asynchronous (then do) blocks into a Synchronous Function resolves unpredictable results](http://community.thunkable.com/t/wrapping-asynchronous-blocks-into-a-synchronous-function-for-the-win/910511).

I’ll have to go back to my project because it definitely wasn’t waiting and it definitely never displayed “B”. If I’m understanding you correctly, the expected behavior would be “A” then “C” immediately then “B” after two seconds. So I should be able to observe “C”…[two seconds]…“B”. What I’m seeing is just “C” (because “A” and “B” go by so quickly, I assume).

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://community.thunkable.com/u/Steven)\
**Post date:** [October 19, 2020, 10:14pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/38 "2020-10-19T22:14:17Z")

</div>

For the purposes of understanding how the flow works, it might be best not to use the `get list of values` block. As I believe that is also technically working asynchronously and might cause the order to be more confusing since we are waiting for the result of that value under the hood. But yeah, play around and let me know if you have any questions or run into unexpected behavior so I can either help explain it to you or investigate a bug if you find one. 🙂

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 20, 2020, 3:08am UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/39 "2020-10-20T03:08:04Z")

</div>

@Steven Thanks. I actually am not using the “list of values” block in my larger project. I just needed to create something with a list viewer to make a quick demo and that’s what I chose. But good to know. I’ll do some testing and post an update if I find anything significant.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:22pm UTC](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050/40 "2024-11-08T12:22:00Z")

</div>

Closed on November 8, 2024, 12:22pm UTC



[Previous page](https://community.thunkable.com/t/create-row-block-not-working-well-from-yesterday/887050.md?page=1)
