Adding a while activity

Follow these steps to add a while activity to the PortfolioEvaluatorProcess process:
  1. Switch to the PortfolioEvaluatorProcess editor.
  2. Click the Choice icon on the palette.
  3. Click the While Loop icon on the palette.
  4. Click the connection between Initialize variables and Reply. The WhileLoop figure WhileLoop was added.
  5. Switch to the Properties view.
  6. In the details section, click the Details tab.
  7. From the Expression language list, click Java.
  8. From the list, click Java™.
  9. Remove the existing false figure.
  10. Remove the existing return figure.
  11. Add the existing counter variable to the canvas.
  12. Add the existing numberOfSymbols variable to the canvas. type:int{http://www.w3.org/2001/XMLSchema}
  13. Click the Standard... icon Standard icon on the palette. The Add a Standard Visual Snippet window opens.
  14. In the navigation tree, click math > less than.
  15. Click OK.
  16. Click the canvas to add the activity. type:int{http://www.w3.org/2001/XMLSchema}
  17. Click the Return icon Return
icon on the palette
  18. Click the canvas to add the activity.
  19. Connect the counter figure to the less than figure.
  20. Connect the numberOfSymbols figure to the less than figure.
  21. Connect the less than figure to the return figure.

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