cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
piersm2
Regular Visitor

Round Robin Question

I am working on a round robin selection where it uses a sharepoint list to lookup team members email and forward email from shared mailbox to follow up on.  Problem I am having is that the first person gets back to back emails (when it hits false on the condition).  Anyone have any ideas how I can avoid this?

image.pngimage.pngimage.pngimage.png

 
1 ACCEPTED SOLUTION

Accepted Solutions

I figured this one out in case someone stumbles upon this and is having issues.  I had to place "CurrentCounter" here.

 

image.png

View solution in original post

11 REPLIES 11
efialttes
Super User III
Super User III

Hi
During your Flow execution CurrentCounter variable is never modified, right? Which expression are you using to initialize it?
Also... the Apply to Each input is Geat Team members output, right?
Not sure what's the purpose of having the condition inside the Apply to Each... did you try to move it outside, just before Get Team member info?
If you keep it inside the Apply to each, you will be iterating N times (the same number of members your team has) so NextCounter always takes the same value
Hope this helps


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



When I try moving the "Append to array variable" out of Apply to each, it automatically creates an "Apply to each" condition.  Also, should I be using "greater than" for the condition?

 

 

Hi again
What is the expression on the right side of your condition?
Thanx!


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Is this what you are asking?

 

image.png

Nop
I am asking for the Condition action block:
CurrentCounter greater than... ¿?
Thanx!


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Edited post to show correct info

Weird...
Are you sure you cannot move Condition action block outside the Apply to Each?
If not, I would try to add a second Condition action block outside, and replicate there all stuff you have in your current condition branches... if succeeded, then remove original condition. Sometimes Flow editor gets buggy.
Thanx!


Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



It is not in the apply to each condition, it is after it.

 

image.png

I figured this one out in case someone stumbles upon this and is having issues.  I had to place "CurrentCounter" here.

 

image.png

View solution in original post

So, did you manage to solve your issue?

If so, congrats!

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Yes thank you

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (27,759)