Converting a PowerDesigner Model to a Business Process Service

After you import an analysis PowerDesigner model into Sybase WorkSpace, you must convert the analysis model to a business process. A business process must have at least one Receive activity. You can optionally add service operations to model processes.

For assistance in performing this task, open the Enterprise Modeling Design and Generate Business Process Service cheat sheet.

To convert a model to a business process:

  1. In the Enterprise Modeling perspective, select Tools|Generate Business Process Model.

    The BPM Generation Options dialog box appears.

  2. Select Generate new Business Process Model.

    The original version of the model is preserved. A new model is generated.

  3. In the Process Language field, click to open the drop-down list and select Sybase WorkSpace Business Process 1.5.

  4. Make any other necessary changes on the General tab.

  5. Select the Selection tab. If the model contains more than one top-level process, deselect all but one process.

    You must generate a model for each top-level process.

  6. Click OK.

    The business process model opens in the Enterprise Modeling editor. Processes from the PowerDesigner model appear in the business process as Undefined activities.

  7. Double-click the first Undefined activity after Start.

    The Process Properties <activity name> dialog box appears.

  8. Open the drop-down list in the Stereotype field and select Receive.

    The icon changes from Undefined to Receive.

  9. Click OK.

  10. To import services to use in your business process, do any of the following:

    To import existing WorkSpace services:

    1. Select Tools|Import WorkSpace Services from the main menu bar.

      The Import WorkSpace Services wizard opens.

    2. Choose the project that you want to import the services into and click Finish.

      The services are displayed in the WorkSpace Navigator.

    To import a WSDL:

    1. Select Language|Import WSDLfrom the main menu bar.

      The Import Wizard dialog box opens.

    2. Enter the WSDL URL or browse to select a WSDL.

    3. Click OK.

      The dialog box closes and the WSDL appears in the WorkSpace Navigator.

  11. Drag a service operation from the Service Providers folder to the appropriate Undefined activity.

    Note

    It is not required that you define a service operation for each Undefined activity.

  12. When you have defined a service operation for the Undefined activities that you want to define, select Tools|Check Model.

    The Undefined activity icons become the appropriate business process service icons.

  13. When you finish making changes, select Language|Generate Sybase Workspace Business Process 1.5 Code from the main menu bar.

    The Generation dialog box appears.

  14. Ensure the information in the dialog box is correct and click OK.

    The business process is generated. An example of the generated files is shown below. list of generated files

  15. To continue with the implementation of the business process, switch to the Service Development perspective.

    Note

    If the Service Development perspective is not available on the Perspective shortcut bar, see Opening a Perspective.

    The project containing the generated business process service appears in the WorkSpace Navigator.

  16. Open the project in the WorkSpace Navigator and double-click the <name>.svc_bpmn file.

    The Business Process Service editor opens displaying the generated business process. Continue implementation as you would with any business process service.

Importing a PowerDesigner Model into Sybase WorkSpace

WorkSpace Navigator

Perspective Shortcut Bar

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com