Follow these steps to create the iterator variable:
- Add the existing symbols activity to the otherwise area.
.
- Click the Java... icon
on the palette. The Select a Java Visual Snippet window
opens.
- In the Specify a type (? = any character, * = any String) field,
type java.util.List.
- Click List.
- Click java.util - WSInstallDir/runtimes/bi_v6_stub/java/jre/lib/core.jar.
- Click iterator().
- Click OK.
- Add the iterator activity to the otherwise figure.
- Type the name it.
- Connect the symbols figure to the iterator activity.
- Connect the iterator figure to the it figure.
Here is what the otherwise activity should look like so far: