cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
thbeatty1
Advocate I
Advocate I

Go To label action not working under a default case

I have a switch statement where let's say %NewVar% = 1, Case compares if %NewVar%= 2, it does not, so under the Default Case there is an action for Go To Label, which will move to a label outside of the switch statement. 

That Go To action stops the process from running if it tries execute, but only if it is under the default case.

If the Case were to compare %NewVar% = 1 (so, true) and the same go to label action is used, it successfully exits the switch and goes to the label. 

Is this intended?

1 ACCEPTED SOLUTION

Accepted Solutions

That is the weirdest thing.  Definitely a bug.  Here is a workaround:

 

MichaelAnnis_0-1645825923966.png

 

View solution in original post

4 REPLIES 4
thbeatty1
Advocate I
Advocate I

Screenshot 2022-02-25 155945.png

 

for visual reference

MichaelAnnis
Super User
Super User

Thank you.  I was going to ask for this.  Let me run some tests.

That is the weirdest thing.  Definitely a bug.  Here is a workaround:

 

MichaelAnnis_0-1645825923966.png

 

thbeatty1
Advocate I
Advocate I

I appreciate the response and workaround, thank you

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Kudoed Authors
Users online (1,356)