Break and continue activity don't work with While activity

Break and continue activity don’t work with While activity


I just tested on my computer and it’s working fine. Have you verified that you have the latest version of the package UiPath.System.Activities?

image

@ptrobot

you are right for the update but it doesnt work yet

You can use an assign activity to breakout of a while loop or to skip an item.

You will need an If activity to check for the condition and if it is met, use an assign activity to reassign your boolean variable used in the condition to True if was false, then the program will exit the loop. Or in a case of skipping items, if the condition is met it should go to the then section otherwise it goes to the else

Have you tested to restart UiPath Studio? If you create a completely new workflow and add a While activity and a Break activity, do you get the same error?