Follow these steps to create the qtySharesIterator
variable in the 'if true' section of the Choice canvas:
- 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.List.
- In the Matching types: list, select List.
- 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 iterator().
- Click OK.
- Click inside the if true canvas to add the iterator activity.
- Add an expression to the input terminal of the iterator activity.
- Type quantityOfSharesList.
- Add an expression to the output terminal of the iterator activity.
- Type qtySharesIterator.
