Creating the iterator variable

Follow these steps to create the iterator variable:
  1. Add the existing symbols activity to the otherwise area.Visual code placed in this area will be executed if the value of the input is false.
  2. Click the Java... icon on the palette. The Select a Java Visual Snippet window opens.
  3. In the Specify a type (? = any character, * = any String) field, type java.util.List.
  4. Click List.
  5. Click java.util - WSInstallDir/runtimes/bi_v6_stub/java/jre/lib/core.jar.
  6. Click iterator().
  7. Click OK.
  8. Add the iterator activity to the otherwise figure.
  9. Type the name it.
  10. Connect the symbols figure to the iterator activity.
  11. Connect the iterator figure to the it figure. Here is what the otherwise activity should look like so far:

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.