Creating the loop condition

Follow these steps to create the loop condition:
  1. Click the Java... palette button. The Select a Java Visual Snippet window opens.
  2. In the Specify a type (? = any character, * = any String) field, type java.util.Iterator.
  3. In the Matching types: list, select Iterator.
  4. In the Qualifier: list, select java.util - WSInstallDir/runtimes/bi_v6_stub/java/jre/lib/core.jar.
  5. In the Select a Visual Snippet: list, select hasNext().
  6. Click OK.
  7. Click inside the loop condition (upper) canvas of the While true activity to add the hasNext activity.
  8. Add an expression to the input terminal of the hasNext activity.
  9. Type symbolsIterator.
  10. Right-click the output terminal of the hasNext activity.
  11. From the pop-up menu, select Add > Link.
  12. Click on the output terminal of the While true activity.

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