Creating the stockInfoList Business Object variable in the 'if true' section of the Choice canvas

Follow these steps to create the stockInfoList Business Object variable in the 'if true' section of the Choice canvas:
  1. Click the Java... icon on the palette. The Select a Java Visual Snippet window opens.
  2. In the Specify a type (? = any character, * = any String) field, type java.util.Vector.
  3. In the Matching types: list, select Vector.
  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 Vector().
  6. Click OK.
  7. Click inside the if true canvas to add the new Vector activity.
  8. Add an expression to the output terminal of the new Vector activity.
  9. Type stockInfoList.
  10. Right-click the input terminal of stockInfoList.
  11. From the pop-up menu, select Set Type > Java. The Select Type window opens. The Choose a type page opens.
  12. In the Choose a type field, type java.util.List.
  13. In the Matching types: list, select List.
  14. Click OK.

  15. Visual code placed in this area will be executed if the value of the input is true

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