How do you interrupt a cycle with or without BREAK?

How to interrupt a cycle with or without BREAK. I attach a block in which I want to interrupt the continuation of the work by activating or not BREAK.
How to interrupt a loop with or without BREAK. I'm attaching a block where I want to interrupt the progress of the job with or without BREAK.
When I run if then else, I get the message "break should be run only from whitin..."

immagine_2025-10-21_172654264

You can use the break block only in loops
It seems to be you are displaying a notification; which can't be interrupted
What is AkquisiciFucco?
Next time please switch the language to English before taking a screenshot

Taifun

Break only works inside a do while block, not in procedures called from a do while block.

Design your UI with an Enter button to avoid situations like this.

Thanks. My goal is to display the notification and force the user to go back and re-enter the contents of patient_name.txt. I don't know how to create the loop. Can you fix it?
BREAK

Show the rest of your relevant blocks

Your blocks image is illegible

In the blocks editor, right click on white space and Download Blocks as Image, then post it here.

This is illogical:

How can a list equal a piece of blank text?

An if it did, what would you expect to happen when you go selecting items from it?

I think you are missing how to build a long if/then/elseif ladder using the blue mutator button on the if/then block.

The if/then/elseif ladder steers execution away from lower rungs if one of the upper tests is true.
There is no need for a break.

A sample if/then/elseif ladder:

The inputs must pass all tests before hitting the end of the ladder.

https://appinventor.mit.edu/explore/ai2/support/concepts/mutators