Dear UiPath’s friends
I would like to have your advices regarding this issue:
I need to make a Switch activity expression to verify if it matches with the subfolder names just to be able to direct instructions.
First at all, my inbox is composed by two folders (Converters and Warehouse)
then the folder converters has a subfolder: ATCP
And the folder warehouse has also a subfolder : CDWC
As you see in the picture below:
1.- My first activity is an Assign (ListSubfolders = New List(Of String) From {“Inbox\Converters\ATCP”, “Inbox\Warehouse\CDWC”,“Default”))
2.- Second activity is a For each (currentFolder = ListSubfolders)
3.- inside For each activity the expression i use is:
If(currentFolder.tolower.Contains(“atcp”),“ATCP”,
If(currentFolder.tolower.Contains(“cdwc”),“CDWC”,
“Default”))
I would like to know how to make “the switch expression” works because it can’t direct to the Switch cases …