# Inconsistent behaviour

**URL:** <https://community.thunkable.com/t/inconsistent-behaviour/1258693>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [May 2, 2021, 4:37pm UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693 "2021-05-02T16:37:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukhollywood29l](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@ukhollywood29l](https://community.thunkable.com/u/ukhollywood29l)\
**Post date:** [May 2, 2021, 4:37pm UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/1 "2021-05-02T16:37:08Z")

</div>

Hi Thunkers,

Just a quick general question that is really annoying me!  
I’m working on app that requires storing data into a variable on one screen and retrieving the result on a different screen.  
Has anyone else found that data is sometime inconsistent? Or that just in general their app works, but behaves as expected sometimes and on other occasions doesn’t??

In general this strange result is seriously hindering both the development time and debugging efforts!!  
At this point I’d be curious to hear other Thunkers experiences or is it just me and my crappy thunking?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 2, 2021, 6:14pm UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/2 "2021-05-02T18:14:00Z")

</div>

I have variables that keeps data between screens all the time but never encountered an inconsistency in how it works.

I noticed with navigators the behaviour change but even in this case it is consistent.

---

<div class="post-metadata">

**Author:** ![cyberdriver](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@cyberdriver](https://community.thunkable.com/u/cyberdriver)\
**Post date:** [May 2, 2021, 6:14pm UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/3 "2021-05-02T18:14:56Z")

</div>

I normally don’t have issues. Could you share your code? What type of variable are you storing - cloud, stored, app?

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 3, 2021, 1:04am UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/4 "2021-05-03T01:04:28Z")

</div>

I wonder if this is an asynchronous problem? Some blocks (especially purple blocks!) run asynchronously, so the code may continue on to the next block before one of them finishes doing what you expect it to do (i.e. setting a variable). Subtle differences in timing have been a source of inconsistency for me.

---

<div class="post-metadata">

**Author:** ![ukhollywood29l](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@ukhollywood29l](https://community.thunkable.com/u/ukhollywood29l)\
**Post date:** [May 3, 2021, 7:44am UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/5 "2021-05-03T07:44:43Z")

</div>

Thanks all!  
@catsarisky I think that’s it, timing! I’ve popped in some waits at key points and that’s has improved consistency!!! Any recommendations or best practices for using waits? e.g. Like around “purple blocks” and or durations?

Cheers!

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 3, 2021, 10:15am UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/6 "2021-05-03T10:15:04Z")

</div>

Search the forums for asynchronous - several recommendations in the top hits. 🙂

---

<div class="post-metadata">

**Author:** ![ukhollywood29l](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@ukhollywood29l](https://community.thunkable.com/u/ukhollywood29l)\
**Post date:** [May 3, 2021, 11:48am UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/7 "2021-05-03T11:48:22Z")

</div>

Cheers!

---

<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, 1:22pm UTC](https://community.thunkable.com/t/inconsistent-behaviour/1258693/8 "2024-11-08T13:22:43Z")

</div>


