Adding the stockInfo Business Object to stockInfoList in the loop body

Follow these steps to add the stockInfo Business Object to stockInfoList in the loop body:
  1. Click the Standard... palette button. The Add a Standard Visual Snippet window opens.
  2. In the navigation tree, click list > add item to list.
  3. Click OK.
  4. Click inside the loop body (lower) canvas of the while true activity to add the add item to list activity.
  5. Add an expression to the first input terminal of the add item to list activity. Type stockInfoList.
  6. Add an expression to the second input terminal of the add item to list activity. Type stockInfo.
  7. Add an expression to the output terminal of the add item to list activity. Type added.

  8. Istrue36
  9. Add an expression inside the if true canvas after the while true activity. Type stockInfoList.
  10. Add an expression to the output terminal of the stockInfoList expression. Type stockPortfolio.stockInfoList.
  11. From the menu, select File > Save (or press Ctrl+S).

  12. StockPortfolio picture

  13. Final StockPortfolio creation

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