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