Lesson 1: Creating a Business Process Model for analysis

In this lesson, you will create an analysis BPM and define some BPM objects in the model. Before you begin, complete all lessons in “Creating a database model”.

  1. If the tutorial database is already running, go to step 2.

    If the tutorial database is not running, in the WorkSpace Navigator, expand the folder MySybStore_Tutorials/Setup/Database. Right-click startMySybStore.bat and select Open With|System Editor to start the tutorial database.

    You should see the Adaptive Server Anywhere icon in your Windows system tray.

  2. If a connection to the SybStore tutorial database is already established, skip to step 3. When there is a successful connection, you see a database icon below the SybStore connection profile in the Enterprise Explorer.

    If you are not connected, in the Enterprise Explorer, right-click the MySybStore connection profile, which you created in the tutorial setup, and select Connect to connect WorkSpace to the tutorial database.

  3. If the Enterprise Modeling perspective is not open, select Window|Open Perspective|Enterprise Modeling from the main menu bar.

  4. Select File|New|Model from the main menu bar.

  5. When the New Model wizard appears, select Add To An Existing Project, click MySybStore_Tutorials to select that project, then click Next.

  6. In the Destination Folder window, select the MySybStore_Tutorials/Models folder and click Finish.

  7. In the New dialog box, define the following:

  8. Click OK. The Business Process Model editor displays an empty diagram and a toolbar. The Modeling Output view appears below the editor.

  9. Select Model|Model Properties from the WorkSpace main menu bar.

  10. When the Model Properties dialog box opens, change the model name to MyRestockAnalysisModel and click OK.

  11. Click Start on the editor toolbar.

  12. Click in the editor. A start symbol appears where you clicked.

  13. Right-click in the editor to restore the pointer tool.

  14. Click Process on the editor toolbar.

  15. Click in the editor. A process symbol appears where you clicked.

  16. Right-click in the editor to restore the pointer tool.

  17. Double-click the Process_1 symbol in the editor.

  18. When the Process Properties dialog box opens, change the process Name to Receive Restock Confirmation Data, then click OK.

    NoteIf the start symbol seems to disappear, use the pointer to move the process symbol. The start symbol may be hidden behind the process symbol.

  19. Repeat steps 13 through 18 to create these processes:

  20. Save your work. Select File|Save from the WorkSpace main menu.

  21. Click Resource on the editor toolbar.

  22. Click inside the editor. A resource symbol (a database icon) appears where you clicked.

  23. Right-click in the editor to restore the pointer tool.

  24. Double-click the resource symbol in the editor.

  25. When the Resource Properties dialog box opens, change the resource name to SybStore Database and click OK.

  26. Click Decision on the editor toolbar.

  27. Click in the editor. A decision symbol appears in the editor where you clicked.

  28. Right-click in the editor to restore the pointer tool.

  29. Double-click the decision symbol.

  30. When the Decision Properties dialog box opens, change the decision Name to Confirmation Data Valid, then click OK.

    Use the pointer to rearrange the symbols so they do not overlap each other.

  31. Click Synchronization in the palette.

  32. Click in the editor. A horizontal synchronization symbol (a line) appears in the editor where you clicked.

  33. Right-click in the editor to restore the pointer.

  34. Click the synchronization symbol, then select the center marker and drag up to make the line symbol higher than it is wide.

    The synchronization symbol becomes vertical.

  35. Click End in the palette.

  36. Click inside the editor. An end symbol appears in the editor where you clicked.

  37. Right-click in the editor to restore the pointer tool.

  38. Click Flow on the editor toolbar.

  39. Click the start symbol and hold down the mouse button. Drag the pointer to the first process symbol (Receive Restock Confirmation Date), and release the mouse button.

  40. Click the decision symbol and hold down the mouse button. Drag the pointer to the Send Failure Response process symbol. A flow line appears.

  41. Right-click in the editor to restore the pointer tool.

  42. Right-click the flow line arrow that you just created and select Format.

  43. When the Symbol Format dialog box opens, change the Corners style to horizontal/vertical, then click OK.

  44. Select the Flow tool again and create more flows until your diagram resembles the following graphic.

    NoteClick the maximize button in the upper right corner of the editor to to expand the diagram. Select the pointer tool from the editor toolbar to select and rearrange the symbols as necessary.

  45. Right-click the flow line between the Confirmation Data Valid decision symbol and the Send Failure Response process symbol and select Properties.

  46. Select the Condition tab, enter False in the Alias field, and click OK.

    The flow displays the [False] condition, which indicates that if Confirmation Data Valid is not true, the flow proceeds to the Send Failure Response process. Otherwise, it goes to the Save Confirmation Data process.

  47. Select File|Save from the main menu bar to save the model.

  48. Select File|Close to close the perspective.

    NoteLeave the perspective open if you plan to continue with the next tutorial.