Not sure your exact usecase but as per the below code snippet this is how the “Enhanced For Loop” will work
char[] vowels = {'a', 'e', 'i', 'o', 'u'};
// foreach loop
for (char item: vowels) {
System.out.println(item);
}
Output
a
e
i
o
u
Now, putting this in webMethods flow service, you will have a “inStringList” which is a stringList data type (eg., 1, 2, 3, 4) and below attached code snippet will execute all the sequence steps including the $default.
My question is what you are doing in each sequence step? Can you provide your requiement with example?

#Integration-Server-and-ESB#webMethods#Flow-and-Java-services