# Update all users

**URL:** <https://forum.adalo.com/t/update-all-users/9580>\
**Category:** Get Help\
**Created:** [February 23, 2021, 3:11pm UTC](https://forum.adalo.com/t/update-all-users/9580 "2021-02-23T15:11:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 3:11pm UTC](https://forum.adalo.com/t/update-all-users/9580/1 "2021-02-23T15:11:49Z")

</div>

Hey all, I am trying to find a way to update a true/false property on all users once a new user is created. So when a new user is created; update all users; True/false property= False.

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 3:14pm UTC](https://forum.adalo.com/t/update-all-users/9580/2 "2021-02-23T15:14:03Z")

</div>

So you want user when he sign up it updates the WHOLE users?

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 3:29pm UTC](https://forum.adalo.com/t/update-all-users/9580/3 "2021-02-23T15:29:35Z")

</div>

Yes I want all the other users in the app to be updated when a new user signs up. It needs to change a true/false property once a new user signs up

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 3:35pm UTC](https://forum.adalo.com/t/update-all-users/9580/4 "2021-02-23T15:35:19Z")

</div>

To get me testing before I say me results, you want when I new user sgin in every gets true, but when another user sgins in stays true?

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 3:37pm UTC](https://forum.adalo.com/t/update-all-users/9580/5 "2021-02-23T15:37:46Z")

</div>

When a new user signs up; all others users true/false property changes to false.

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 3:38pm UTC](https://forum.adalo.com/t/update-all-users/9580/6 "2021-02-23T15:38:25Z")

</div>

And stays false right?

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 3:44pm UTC](https://forum.adalo.com/t/update-all-users/9580/7 "2021-02-23T15:44:43Z")

</div>

Let me test all possible ways as adalo doesn’t allow except “logged in user”…

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 3:46pm UTC](https://forum.adalo.com/t/update-all-users/9580/8 "2021-02-23T15:46:00Z")

</div>

Thank you I appreciate the help!

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 3:50pm UTC](https://forum.adalo.com/t/update-all-users/9580/9 "2021-02-23T15:50:30Z")

</div>

So all users have a true field until a new user comes and turns it false?

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 3:52pm UTC](https://forum.adalo.com/t/update-all-users/9580/10 "2021-02-23T15:52:02Z")

</div>

So some users will be false and some will be true but all need to be false when a new user is created.

---

<div class="post-metadata">

**Author:** ![montetennis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/montetennis/32/5904_2.png) [@montetennis](https://forum.adalo.com/u/montetennis)\
**Post date:** [February 23, 2021, 4:24pm UTC](https://forum.adalo.com/t/update-all-users/9580/11 "2021-02-23T16:24:50Z")

</div>

Hey colleague!

When the user signs-up, is redirected to screen TEMP

In the screen TEMP, you use this trick: [Trick: Bulk update records](https://forum.adalo.com/t/trick-bulk-update-records/9455), with an invisible list, and countdown timer = 1sec. There you update all the users properties to FALSE.

Also, create another countdown with 2/3secs (out of the list) that will redirect to the new screen.

In the TEMP screen, you can write something like “LOGGING IN…”, and a loading GIF, that is shown while all this is happening in the background

Hope to have been helpful! 🙂 let me know if that works!

Paolo

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 23, 2021, 4:34pm UTC](https://forum.adalo.com/t/update-all-users/9580/12 "2021-02-23T16:34:16Z")

</div>

That sounds like it will work! Thanks! I will give that a try and update here if it worked.

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 4:36pm UTC](https://forum.adalo.com/t/update-all-users/9580/13 "2021-02-23T16:36:45Z")

</div>

Be careful tho, it may update also the logged in user.

---

<div class="post-metadata">

**Author:** ![B0untiful\_26](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@B0untiful\_26](https://forum.adalo.com/u/B0untiful_26)\
**Post date:** [February 23, 2021, 4:37pm UTC](https://forum.adalo.com/t/update-all-users/9580/14 "2021-02-23T16:37:11Z")

</div>

Worked, nice job. 🙂

---

<div class="post-metadata">

**Author:** ![rjones](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rjones](https://forum.adalo.com/u/rjones)\
**Post date:** [February 24, 2021, 12:02am UTC](https://forum.adalo.com/t/update-all-users/9580/15 "2021-02-24T00:02:04Z")

</div>

Yup, this worked. Thanks again!

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [February 24, 2021, 11:05am UTC](https://forum.adalo.com/t/update-all-users/9580/16 "2021-02-24T11:05:00Z")

</div>

Hi @rjones @montetennis,

Just my 2 cents: bulk update of 100s of records sometimes may take **a lot** of time.

In my experience, when I needed to reset 84 records, it took about 15-30 seconds to have a result. Please keep in mind, countdown timer executes on a client side, so it’s not very fast.  
This was before Adalo made some improvements with the speed, but still, I’d recommend to test it first.  
When I tried to do an update for 700 records, the console was frozen for couple of minutes 🙂 And if your app is successful, you might hit these figures quite soon.

One of the possible ways to make bulk update in the background is to use something like Integromat. However, this solution is also not very fast, and each update operation consumes a “credit”, so frequent bulk updates might be costly.

My biggest concern would be reg. the task itself: why would you want to update all “old” user records when a new record is created? What’s the goal you’d like to achieve? May be there is another way to do it 🙂

Just my 2 cents

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [February 24, 2021, 11:24am UTC](https://forum.adalo.com/t/update-all-users/9580/17 "2021-02-24T11:24:45Z")

</div>

> [@Victor](#):
>
> When I tried to do an update for 700 records, the console was frozen for couple of minutes 🙂 And if your app is successful, you might hit these figures quite soon.

Is the console crash after that and you need to refresh ?

Do the records successfully updated ?

Sorry, just curious

---

<div class="post-metadata">

**Author:** ![montetennis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/montetennis/32/5904_2.png) [@montetennis](https://forum.adalo.com/u/montetennis)\
**Post date:** [February 24, 2021, 11:33am UTC](https://forum.adalo.com/t/update-all-users/9580/18 "2021-02-24T11:33:22Z")

</div>

I agree with Victor comments.

Probably my solution is just a patch that is working up to 100 users…

If what you want to achieve is keeping track of “last user” you can track the “created time” of the user, instead setting all FALSEs to the other user

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [February 24, 2021, 11:41am UTC](https://forum.adalo.com/t/update-all-users/9580/19 "2021-02-24T11:41:08Z")

</div>

Hi @Yongki,

No, it didn’t crash. The browser just became unresponsive. Macbook Air (not M1 but previous), Chrome, 8GB RAM.  
It’s interpretation - imagine the load on your device when a timer tries to execute 700 operations at the same time 🙂

They were updated, eventually. The thing is, that I don’t really like such approaches - there could be unforseen consequences when the number of records increases. So there should be another way 🙂

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [February 24, 2021, 12:12pm UTC](https://forum.adalo.com/t/update-all-users/9580/20 "2021-02-24T12:12:01Z")

</div>

@Victor

Thanks for your explanation.

To split the operation, I use maximum number in the list, so that it run in batches.

Yes, using countdown workaround is not best practice, Adalo should make new component for this batch update.

But, the good news, the database is updated, this proves that their backend is consistent, but unfortunately slow.

Hopefully when the time comes, there will be low-code that can translate to SQL for database operation so that performance will be faster.

[Next page](https://forum.adalo.com/t/update-all-users/9580.md?page=2)
