'Break out of loop' does not work
See original GitHub issueDescribe the bug
I am trying to stop a loop with the ‘Break out of loop’ action using a condition. But the loop doesn’t stop.
Version
Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Add an ‘Loop: For each item’ action
- Add an ‘Branch: if/else’ action inside the loop
- Add an ‘Break out of loop’ action inside the condition
- See error
Expected behavior
The loop is expected to stop
Screenshots
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
break statement inside a for loop not working - python
The break statements for the outer and middle loops will be executed regardless of whether the inner break has happened. In other words,...
Read more >Python break statement: break for loops and while loops
It terminates whichever loop it's placed within, causing Python to resume whatever line of code comes after the loop. For situations that make...
Read more >"Break out of loop" block not working
Hi, when i inserted the “break out of loop” block into my app it gave me a notification that went like this: “Internal...
Read more >Why can't I break out of this do while loop in java?
Even though the input I type is a "Y" or "N" string, I can't break out if this while loop. Can anyone tell...
Read more >Are there any problems with using continue or break?
The real problem are loops with too large inner bodies and many conditions for stopping them or executing only parts. Having multiple continue ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a pull-request for this issue. https://github.com/microsoft/botbuilder-dotnet/pull/6223
Thank you @EricDahlvang for the PR!
Are you able to provide a small repro? A basic example seems to be working as expected: