Hello. I have added a repeat number of times activity inside a Use Application/Browser activity. Instead of the CurrentItem Int32 variable, I added a new string variable called Services in the For each field. I then added a switch activity in the body with the expression set to Services.ToString and added all string key cases by names instead of numbers for easy identification.
Repeat number of times is set to 13 and starts at 1.
However, when I run the activity, it simply skips the entire switch. What am I doing wrong?
So should I have the Services set to an array of strings and add the string names exactly as they are in the Cases names? Is that what you’re saying?
Why would you need the Repeat activity? That’s the wrong activity to use. Set up your array and use it in For Each. If there are 5 items in the array it’ll loop 5 times. If there are 50 items in the array it’ll loop 50 times.