Scan QR Code Issue - Repeating the action 4/5 times

Thank you @tatiang for your time.
Above the API call is an not relevant block that just triggers in a couple of events that are not linked to this function - i tried already to cut them off and just keep the API call and it gives the same result

Here is the full block - in this case the variable “LocaleScannato” is “WikiWoo”, so no one of the one above

I also would like to mention that there is a different block after the API call, that includes a List block, and also that one is repeated three to five times

This means that in the List “ListaDipendenteOrari” it inserts the text 3 to 5 times.

Here are the relevant complete blocks - sorry i had to take more pictures are they are very long:

I also tried to change the “LocaleScannato” variable to another one but it still does this action 3 to 5 times instead of only one.