# Round robin load balancing function

**URL:** https://community.thunkable.com/t/round-robin-load-balancing-function/296719
**Category:** Questions about Thunkable X
**Created:** [October 31, 2019, 3:35am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719 "2019-10-31T03:35:36Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [October 31, 2019, 3:35am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/1 "2019-10-31T03:35:36Z")

</div>

Hi Guys,

Need some opinion about design i created.

my design is forward data to next screen which is worked as expected. The data displayed in labels. But my plan to have multiple officer/admin so it will display a few data in a few label.  
I know we can use if else statement but i am not getting on it or round robin function when admin press display button it will take random labels.

if i can share my design in block and screen shoot. Appreciated any opinion on it.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/6/86bd643b309c332ae9a5757796ed886977a69276.png)

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/3/83a7040202622c5acd5df45a98185b776227222e.png)

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [November 4, 2019, 3:58pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/2 "2019-11-04T15:58:08Z")

</div>

Hi @ozel1978,

I’m not sure what the `app call` variable is supposed to be doing, also what to the 1. and 2. lables on your first picture mean?

Also, I don’t see anywhere where you are attempting to implement a [round-robin](https://www.collinsdictionary.com/dictionary/english/round-robin) - how do you want to use this in your app?

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [November 12, 2019, 1:07am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/3 "2019-11-12T01:07:58Z")

</div>

Hi Domhnall,

My apps is about que system. but it only work for one admin only. so whenever admin call info of customer it will display in label 1. I was thinking if we have 2 admin it should have 2 label. so admin 2 also when it call customer info it need to be display in label 2 or info in label 1 move to label 2.

that why i was thinking about round robin or looping. Hope you clear about my requirement.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [November 13, 2019, 2:15pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/4 "2019-11-13T14:15:39Z")

</div>

I’m still not sure what you mean by “round robin” this sounds more like a simple CRM system to me?

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [November 13, 2019, 2:25pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/5 "2019-11-13T14:25:49Z")

</div>

forget about term round robin. maybe i am from network background so i am using it from what i understand. But my requirement the info need to be display in label 1 or label 2 at same time. any idea how should i am doing it?

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [November 13, 2019, 2:27pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/6 "2019-11-13T14:27:36Z")

</div>

ahhhh…round robin load balancing - now I know what you mean.

I want to make something like this anyway - give me a few minutes.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [November 13, 2019, 3:22pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/7 "2019-11-13T15:22:16Z")

</div>

Hi

Perhaps I could suggest a solution, but I do not understand the algorithm you need to get.

I understand correctly what you want to do?

The database has a list of phone numbers (suppose of 3 pieces). On the administrators window there is a Call button and LabelN (N - nomber of administrators). When the first administrator logs in, he presses the Call button and a call to number1 occurs, which is displayed in Label1. After completion call, the first administrator presses the Call button and a call is made to the number2, which is displayed in Label1. At this time, the second administrator enters the system hi see Label1 = number2 and Label2=“no call” with are displayed on its screen. The second administrator presses the Call button and Label2= number3.

That is, the first and second administrator on his screen sees Label1 = nomber2, Label2 = nomber3. The first administrator ends the call and leaves for lunch Label1 = “no call”, the second administrator ends the call and presses the Call button. After that, he sees on the screen Label1 = “no call” and Label2 = number1

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [November 13, 2019, 4:30pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/8 "2019-11-13T16:30:28Z")

</div>

Something like this?

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [November 14, 2019, 11:55am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/9 "2019-11-14T11:55:29Z")

</div>

Domhall,

if you can make the project public or share block each of page.

It look like what i want but let me have a look first.

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [November 14, 2019, 11:58am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/10 "2019-11-14T11:58:00Z")

</div>

actech,

that the structure. seem you can read my mind.

---

<div class="post-metadata">

### Author: ![sedersmith2sbk](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@sedersmith2sbk](https://community.thunkable.com/u/sedersmith2sbk)
#### Post date: [November 23, 2019, 11:19am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/11 "2019-11-23T11:19:03Z")

</div>

Hi buddy, did you get any way out yet? Sorry for bumping but trying out similar so asked here without creating a new thread.

Regards,  
Sloth Smith

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [November 24, 2019, 5:04pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/12 "2019-11-24T17:04:37Z")

</div>

hi smith,

i still waiting Domhall to provide block so i can try myself.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [December 22, 2019, 11:02pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/13 "2019-12-22T23:02:38Z")

</div>

Hey @ozel1978 and @sedersmith2sbk

My bad, I thought all the blocks were in the video:

[https://x.thunkable.com/copy/1691ff864460b080232487ea10860a89](https://x.thunkable.com/copy/1691ff864460b080232487ea10860a89)

---

<div class="post-metadata">

### Author: ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)
#### Post date: [December 24, 2019, 4:16pm UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/14 "2019-12-24T16:16:19Z")

</div>

Domhnall,

almost exactly what i am doing. Just need you advice what component i have to use.  
my problem only just small and i dont want to re do my block. Here it is my design.

admin need to choose which users need to be display. for example here admin choose users with number 8574.  
when admin press button “call” it will display to screen2 at label 1.  
what i want to do when admin call other users it will display to label 1 and existing info at label 1 will move to label 2.

i hope you understand what is my plan here and appreciated it much.

screen1

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/4/244e94a3099abf0a5cf26822df1b527f1a94f9aa.jpeg)

screen2

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/6/f628e8e8ece8663b41dea27e918508e8c5a29055.jpeg)

---

<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, 11:46am UTC](https://community.thunkable.com/t/round-robin-load-balancing-function/296719/15 "2024-11-08T11:46:14Z")

</div>


