cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AugustoEi
Helper I
Helper I

Problems with switch, and variables

Hi,

 

I created a workflow with a general variable with the value of 'A', then it enters in a do until that variable is set to 'X'

 

the switch takes that value of 'A' at the end of that branch it changes to 'B' if the condition is OK or changes to 'X' if is negative, when is set to 'B' doesn't changes the branch and keeps in loop in the same branch, there is a problem of using only 1 variable or the switch item/variable is working wrong?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

If you look at your No branch you'll see that it says you are setting the value to exit the loop.  Since Case 2 is inside the loop I wouldn't expect it to be reached if Case 1 is ever invoked.  Check the value you are setting in the No Branch.  It should be set to proceed to Case 2 not exit the loop.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
ScottShearer
Super User
Super User

@AugustoEi 

Please post a screen shot of your Flow as that will make it much easier to assist.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

flow.png

 

i hope this helps

Pstork1
Dual Super User III
Dual Super User III

If you look at your No branch you'll see that it says you are setting the value to exit the loop.  Since Case 2 is inside the loop I wouldn't expect it to be reached if Case 1 is ever invoked.  Check the value you are setting in the No Branch.  It should be set to proceed to Case 2 not exit the loop.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,931)