My for each row in IF is not working

Ombud för maillåda (2).xlsx (12.3 KB) Kommando.xaml (20.7 KB)

Sharing the corresponding files.

I’m a beginner at UIpath, using it for a small school project at my university.

We have a problem. In my switch, the case “Ä” is not working properly.

If the text in a sheet reads: “Calender + Inbox: Åtkomst”, it’s supposed to write “Calender + Inbox: Icke-Åtkomst” instead. It worked before, but I’m not sure what I’ve done to change that.

I don’t completely understand the for each row in Datatable, so it’s hard for me to find out the problem for my self.

Any help is appreciated.


Try sending the text with encoding @jakl

Sorry, what do you mean by “encoding”?

Check this thread

usually, those ascii characters are utf-8 encoded, so that you need to encode before sending it to the activity


I don’t believe that’s the problem.

We believe that the if-loop is never entered. We’ve tried entering a message box early in the if-loop, but that is never shown.

@jakl It maybe because the Message Box ‘Yes’ is Capital and the one you have inputted maybe in Small Letters (yes). So it never matches the condition :sweat_smile:

1 Like


Yes, we found out :joy:

1 Like

@jakl Very Good :laughing: