Powerdesigner - BPM Getting Started
Powerdesigner - BPM Getting Started
Powerdesigner - BPM Getting Started
PowerDesigner®
Business Process Model
Getting Started
Version 11.0
DC38089-01-1100-01
Last modified: November 2004
Copyright © 1991-2004 Sybase, Inc. All rights reserved.
Information in this manual may change without notice and does not represent a commitment on the part of Sybase, Inc. and its
subsidiaries.
Sybase, Inc. provides the software described in this manual under a Sybase License Agreement. The software may be used only in
accordance with the terms of the agreement.
No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual,
optical, or otherwise, without the prior written permission of Sybase, Inc.
Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-
7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.
Sybase, SYBASE (logo), ADA Workbench, Adaptable Windowing Environment, Adaptive Component Architecture, Adaptive Server,
Adaptive Server Anywhere, Adaptive Server Enterprise, Adaptive Server Enterprise Monitor, Adaptive Server Enterprise Replication,
Adaptive Server Everywhere, Afaria, AppModeler, APT Workbench, APTBuild, APT-Edit, APT-Execute, APT-Translator, APT-
Library, ASEP, AvantGo, AvantGo Application Alerts, AvantGo Mobile Document Viewer, AvantGo Mobile Delivery, AvantGo
Mobile Inspection, AvantGo Mobile Marketing Channel, AvantGo Mobile Pharma, AvantGo Mobile Sales, AvantGo Pylon, AvantGo
Pylon Application Server, AvantGo Pylon Conduit, AvantGo Pylon PIM Server, AvantGo Pylon Pro, Backup Server, BayCam, Bit-
Wise, BizTracker, Certified PowerBuilder Developer, Certified SYBASE Professional, Certified SYBASE Professional Logo,
ClearConnect, Client-Library, Client Services, CodeBank, Column Design, ComponentPack, Connection Manager, Convoy/DM,
Copernicus, CSP, Data Pipeline, Data Workbench, DataArchitect, Database Analyzer, DataExpress, DataServer, DataWindow, DB-
Library, dbQueue, Developers Workbench, Direct Connect Anywhere, DirectConnect, Distribution Director, Dynamic Mobility Model,
e-ADK, E-Anywhere, e-Biz Integrator, E-Whatever, EC Gateway, ECMAP, ECRTP, eFulfillment Accelerator, Electronic Case
Management, Embedded SQL, EMS, Enterprise Application Studio, Enterprise Client/Server, Enterprise Connect, Enterprise Data
Studio, Enterprise Manager, Enterprise Portal (logo), Enterprise SQL Server Manager, Enterprise Work Architecture, Enterprise Work
Designer, Enterprise Work Modeler, eProcurement Accelerator, eremote, Everything Works Better When Everything Works Together,
EWA, Financial Fusion, Financial Fusion (and design), Financial Fusion Server, Formula One, Fusion Powered e-Finance, Fusion
Powered Financial Destinations, Fusion Powered STP, Gateway Manager, GeoPoint, GlobalFIX, iAnywhere, iAnywhere Solutions,
ImpactNow, Industry Warehouse Studio, InfoMaker, Information Anywhere, Information Everywhere, InformationConnect, InstaHelp,
Intelligent Self-Care, InternetBuilder, iremote, iScript, Jaguar CTS, jConnect for JDBC, KnowledgeBase, Logical Memory Manager,
M-Business Channel, MBusiness Network, M-Business Server, Mail Anywhere Studio, MainframeConnect, Maintenance Express,
Manage Anywhere Studio, MAP, MDI Access Server, MDI Database Gateway, media.splash, Message Anywhere Server, MetaWorks,
MethodSet, ML Query, MobiCATS, My AvantGo, My AvantGo Media Channel, My AvantGo Mobile Marketing, MySupport, Net-
Gateway, Net-Library, New Era of Networks, Next Generation Learning, Next Generation Learning Studio, O DEVICE, OASiS,
OASiS logo, ObjectConnect, ObjectCycle, OmniConnect, OmniSQL Access Module, OmniSQL Toolkit, Open Biz, Open Business
Interchange, Open Client, Open ClientConnect, Open Client/Server, Open Client/Server Interfaces, Open Gateway, Open Server, Open
ServerConnect, Open Solutions, Optima++, Orchestration Studio, Partnerships that Work, PB-Gen, PC APT Execute, PC DB-Net, PC
Net Library, PhysicalArchitect, Pocket PowerBuilder, PocketBuilder, Power++, Power Through Knowledge, power.stop, PowerAMC,
PowerBuilder, PowerBuilder Foundation Class Library, PowerDesigner, PowerDimensions, PowerDynamo, Powering the New
Economy, PowerScript, PowerSite, PowerSocket, Powersoft, PowerStage, PowerStudio, PowerTips, Powersoft Portfolio, Powersoft
Professional, PowerWare Desktop, PowerWare Enterprise, ProcessAnalyst, QAnywhere, Rapport, Relational Beans, RemoteWare,
RepConnector, Report Workbench, Report-Execute, Replication Agent, Replication Driver, Replication Server, Replication Server
Manager, Replication Toolkit, Resource Manager, RW-DisplayLib, RW-Library, SAFE, SAFE/PRO, SDF, Secure SQL Server, Secure
SQL Toolset, Security Guardian, SKILS, smart.partners, smart.parts, smart.script, SQL Advantage, SQL Anywhere, SQL Anywhere
Studio, SQL Code Checker, SQL Debug, SQL Edit, SQL Edit/TPU, SQL Everywhere, SQL Modeler, SQL Remote, SQL Server, SQL
Server Manager, SQL SMART, SQL Toolset, SQL Server/CFT, SQL Server/DBM, SQL Server SNMP SubAgent, SQL Station, SQLJ,
Stage III Engineering, Startup.Com, STEP, SupportNow, S.W.I.F.T. Message Format Libraries, Sybase Central, Sybase Client/Server
Interfaces, Sybase Development Framework, Sybase Financial Server, Sybase Gateways, Sybase IQ, Sybase Learning Connection,
Sybase MPP, Sybase SQL Desktop, Sybase SQL Lifecycle, Sybase SQL Workgroup, Sybase Synergy Program, Sybase Virtual Server
Architecture, Sybase User Workbench, SybaseWare, Syber Financial, SyberAssist, SybFlex, SybMD, SyBooks, System 10, System 11,
System XI (logo), SystemTools, Tabular Data Stream, The Enterprise Client/Server Company, The Extensible Software Platform, The
Future Is Wide Open, The Learning Connection, The Model For Client/Server Solutions, The Online Information Center, The Power of
One, TotalFix, TradeForce, Transact-SQL, Translation Toolkit, Turning Imagination Into Reality, UltraLite, UltraLite.NET, UNIBOM,
Unilib, Uninull, Unisep, Unistring, URK Runtime Kit for UniCode, Viewer, VisualWriter, VQL, WarehouseArchitect, Warehouse
Control Center, Warehouse Studio, Warehouse WORKS, Watcom, Watcom SQL, Watcom SQL Server, Web Deployment Kit,
Web.PB, Web.SQL, WebSights, WebViewer, WorkGroup SQL Server, XA-Library, XA-Server, XcelleNet, and XP Server are
trademarks of Sybase, Inc. or its subsidiaries.
All other trademarks are property of their respective owners.
Contents
iv PowerDesigner
BPM Glossary .........................................................................................123
Index .........................................................................................127
Subject This book contains step-by-step lessons to learn how to use the
PowerDesigner Business Process Model modeling environment. It shows you
how to do the following:
♦ Build a Business Process Model (BPM)
♦ Use processes, flows and other modeling objects
♦ Build a process hierarchy diagram
♦ Decompose a process
♦ Organize your model
♦ Create a model report
♦ Generate an executable BPM
♦ Implement executable processes
Audience This book is for anyone who will be designing or building a BPM with
PowerDesigner. It requires an understanding of object modeling. Some
experience with programming languages might also be helpful for advanced
users but not required. For more information, see the Bibliography section at
the end of this chapter.
This book only explains how to learn the basics of the BPM. For information
on other models or aspects of PowerDesigner, consult the following books:
Physical Data Model Getting Started To learn the basics of the PDM.
viii PowerDesigner
About This Book
x PowerDesigner
C H A P T E R 1
You build an analysis BPM to capture real-world processes, whether they are
general or very specific, into a logical representation that can then be studied
and manipulated to support different and better ways to accomplish these
tasks.
An analysis BPM usually arises from a compelling business need or
opportunity. It can be used as an input to determine the specific requirements
of an information system.
For example you build an analysis BPM to:
♦ Understand business processes
♦ Improve business processes
♦ Graphically represent interaction between organizations within a
company
♦ Illustrate the duration of a process cycle
♦ Crosscheck with entities to ensure completion
Why build an An executable BPM allows you to easily integrate your business activities
executable BPM? with those of your partners, disregarding the specific development platform
each party has chosen to use and to focus on business solution.
The executable BPM corresponds to the implementation phase of the
business process modeling. This phase occurs once your BPM is validated,
optimized, and that you know exactly what to do to implement the process.
Each step within the process corresponds to a single business activity that is
implemented as an interaction with a Web service. For each given activity,
you need to check whether you can reuse an existing distributed component
to accomplish it.
♦ If yes, you import the corresponding WSDL in the case of a Web service
♦ If not, you create a component in the OOM then import it in the BPM
2 PowerDesigner
Chapter 1 About the BPM Tutorial
Domain of analysis
Purpose The model you are going to complete reflects a real world system design. It
has been created in order to help you manipulate the BPM tools and objects
in PowerDesigner and to give you a global view of how a process can be
analyzed and implemented with the PowerDesigner Business Process
module.
First you are going to create a BPM using the Analysis process language. An
analysis BPM is used to design the decomposition and choreography of tasks
at a business level and does not include any implementation details.
Then you will generate an executable BPM from the analysis BPM to focus
on the implementation phase of the business process modeling. This phase
occurs once your BPM is validated, optimized, and that you know exactly
what to do to implement the process.
Background The tutorial model describes how a company handles electronic incoming
order requests. This is a new channel of order for the company that results in
overloading, as it continues to process all orders, regardless of their origin, in
the same manner. So the company decides to model the process in order to
analyze it and find out what should be changed.
Process When the company receives an electronic order request, the Sales Dpt
description registers the order in a ledger to keep track and checks the availability of the
item ordered by the customer.
Meanwhile, the order is passed to the Accounts Dpt to check the customer's
credit card details.
If the item is unavailable, the Sales Dpt sends an email to the customer to tell
him that the order cannot be processed. In the same way, if it happens that the
credit card details are unvalid, the Accounts Dpt sends an email to the
customer to tell him that the order cannot be processed.
When these two checks are performed, the Sales Dpt sends an email to the
customer to tell him that the order is acknowledged and can be processed.
The Sales Dpt can then send a request to the Warehousing Dpt for the item to
be delivered. The Warehousing Dpt arranges delivery, dispatches the item
and updates the stock.
You are going to complete the provided model by focusing on the Dispatch
process. Then you are going to generate an executable BPM from the global
analysis BPM that will allow you to retrieve the work performed at the
analysis level and to refine it by specifying the implementation of atomic
processes.
4 PowerDesigner
Chapter 1 About the BPM Tutorial
File Description
BPMBEFOR.BPM Starting tutorial BPM
BPMAFTER.BPM Starting model for executable BPM tutorial
BPMEXECU.BPM Finished model for executable BPM tutorial
WSDL file The BPM tutorial uses the following WSDL file:
When you finish the executable BPM tutorial, you can compare your BPM
with BPMEXECU.BPM file.
6 PowerDesigner
C H A P T E R 2
To begin this tutorial, you have to start PowerDesigner and become familiar
with the software global interface.
You will learn to create a new BPM and use the tool palette.
You will open the tutorial model to define its display preferences, model
options and model properties. Then, you will save it under a different name
so that you can go back and use the original model again, if you want to
repeat the exercises.
What you will do In this lesson you will:
♦ Start PowerDesigner
♦ Create a new BPM
♦ Use the tools in the tool palette
♦ Open the BPM tutorial
♦ Define BPM preferences and options
♦ Define BPM properties
♦ Save the BPM tutorial
Start PowerDesigner
♦ Click the PowerDesigner program icon.
The PowerDesigner main window appears. It contains the Browser tree
view docked to the left, and the Output window docked to the bottom.
The Browser tree view shows the contents of the workspace. You can
use the Browser to organize the objects in each of your models.
The diagram window displays object symbols from the models. You
can use the tool Palette to create objects (See section Use the tools in
the Palette).
A workspace defines the entire set of information you need to perform a
modeling task with PowerDesigner. Workspace is the default node in the
Browser tree view.
The Output window shows the progression of any process that you run
from PowerDesigner. For example, the process of importing a PAM into
your business process model appears in this window.
8 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
Create a BPM
1 Select File→New from the menu bar.
The New dialog box appears. It lists the types of models that you can
create in PowerDesigner.
2 Select Business Process Model in the Model type list.
3 Select the New Model radio button in the upper right part of the dialog
box.
4 Select Analysis in the Process Language dropdown listbox.
5 Select the Share radio button.
6 Select Business Process Diagram in the First diagram dropdown listbox.
Note: The tool Palette changes with the type of diagram.
7 Click OK.
A BPM model window appears. It contains an empty diagram window
with a specific palette depending on the type of diagram. The Browser
tree view and the Output window are respectively docked to the left and
bottom of the screen.
The following table indicates the name and description of each tool in the
palette:
10 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
You will learn how to use the tools by creating a few objects in the BPM
using the palette.
1 Click the Start tool in the palette.
The cursor takes the form of a start once you move it into the diagram.
2 Click in the upper part of the diagram.
12 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
Releasing a tool
A tool remains active until you release it. You can release a tool, by
selecting another tool, or by clicking the right mouse button. When
you click the right mouse button, the Pointer tool is activated.
10 Repeat the previous step twice to draw a flow between Process_1 and
Process_2 and between Process_2 and End_1.
The diagram should now look like this:
14 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
The text appears in the diagram. Handles appear around the text.
20 Click a handle at the right edge of the text and while continuing to hold
down the mouse button, drag the cursor to the right until all the text
displays on a unique line.
Release the mouse button.
Click the diagram background.
The handles around the text disappear.
The Confirm Deletion message box appears, asking you how you want to
delete the selection.
Deleting objects
If you select Delete object, you erase the graphic symbol and delete
the object from the model. If you select Delete symbols only, you
erase the graphic symbol, but keep the object in the model.
24 Click OK.
The process and associated flows are removed from the diagram and
deleted from the model.
25 Click the remaining process.
Press SHIFT while you click the text added to the flow, End_1 and Start_1.
All these objects are selected.
26 Press the DEL key, and click OK when the deletion message appears.
The remaining objects are erased.
What you learned In this section, you learned how to use some of the tools in the palette. You
can now:
♦ Select a tool
♦ Release the active tool either by selecting another tool or by clicking the
right mouse button
♦ Select a group of objects
♦ Move graphic objects
♦ Create text to document the BPM
♦ Delete objects
16 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
18 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
20 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
Set As Default
When you click the Set As Default button, you apply the display
preferences to the current business process diagram in the model, and
to the composite process diagram (or any diagram of the same type)
you will create afterwards.
6 Select the Resource Flow node, under the Object View node, in the
Category tree view.
The Resource Flow page appears.
7 Verify that the Message format symbol option is selected and deselect all
other check boxes and options.
The message format symbol will appear on the resource flow symbol.
8 Click the Set As Default button.
9 Select the Start & End node, under the Object View node, in the Category
tree view.
22 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
Object names are displayed in the object symbols in the BPM diagram.
5 Click OK.
3 Click OK.
24 PowerDesigner
Chapter 2 How to Begin the BPM Tutorial
6 Click OK.
26 PowerDesigner
C H A P T E R 3
6 Click OK.
28 PowerDesigner
Chapter 3 How to Design a Process Hierarchy Diagram
2 Click the orders process symbol and, while continuing to hold down the
mouse button, drag the cursor to the electronic orders process symbol
and release the mouse button.
A decomposition link appears between the orders process (parent
process) and the electronic orders process (sub-process).
30 PowerDesigner
Chapter 3 How to Design a Process Hierarchy Diagram
Create a sub-process
You are going to create a sub-process without using the Process
Decomposition Link tool.
1 In the palette, click the Process tool, then place the cursor over the
orders process symbol.
The cursor displays a down arrow indicating that a sub-process will be
created under the orders process.
3 Place the cursor on the left part of the Process_1 symbol, to display a
left arrow, then click the Process_1 symbol.
A sibling process, Process_2, appears on the left of Process_1.
4 Place the cursor on the right part of the Process_1 symbol, to display a
right arrow, then click the Process_1 symbol.
A sibling process, Process_3, appears on the right of Process_1.
32 PowerDesigner
Chapter 3 How to Design a Process Hierarchy Diagram
Name the process 1 In the Browser tree view, right-click the diagram icon or name, and
hierarchy diagram select Rename in the contextual menu.
2 Type Orders hierarchy and press ENTER.
34 PowerDesigner
C H A P T E R 4
36 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
Decompose a process
You are going to decompose the Dispatch item process so that it becomes a
composite process.
A composite process is a child process used to describe the actions of a
parent process.
1 Expand the different Processes categories in the Browser to display the
Dispatch item process, right-click this process to select Find in Diagram
from its contextual menu.
The Dispatch item process is selected and centered in the diagram
window.
2 Right-click the Dispatch item process symbol and select Decompose
process from the contextual menu.
The process symbol changes to the following symbol:
3 Press the CTRL key and double-click the Dispatch item process in the
diagram to open the composite diagram.
or
Select Open Diagram from the contextual menu of the composite process
symbol in the diagram.
Ctrl+double-click
You can also directly create a composite process by pressing the CTRL
key and double-click the parent process.
38 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
3 Position the cursor beside the name of the Warehousing Dpt swimlane
symbol until you see an arrow pointing to the frame, then click the left
mouse button to select it.
4 Drag it below the Accounting Dpt swimlane in order for the set of
swimlanes to look as shown below.
Release the mouse button.
5 Select the lower sideline of the Warehousing Dpt swimlane and drag it
downwards to resize the swimlane wide enough, as it will contain most
objects. You can resize swimlanes according to your needs during the
following lessons.
A dotted line materializing the next position of the line appears.
Release the mouse button.
40 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
7 Click OK.
8 Double-click the end symbol to open its property sheet and type Delivery
complete in the Name box.
The code Delivery complete automatically appears in the Code box.
9 Click OK.
Note that the name of these two objects appear in the diagram, as you
selected the Show Name check box in the Start & End page as a default
display preference in the Display Preferences dialog box in the previous
lesson.
10 Click the Process tool in the palette.
11 Click below the start symbol in the Accounting Dpt swimlane.
A process symbol appears at the click position. A process can be viewed
as an action to reach a goal.
12 Click in the upper part of the Warehousing Dpt swimlane and position
two processes one below the other.
13 Click the right mouse button to release the tool.
Releasing a tool
A tool remains active until you release it. You can release a tool, by
selecting another tool, or by clicking the right mouse button. When
you click the right mouse button, the Pointer tool is activated.
42 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
19 Click OK.
20 Click the Process tool in the palette.
21 Click below the decision symbol in the Warehousing Dpt swimlane and
position two process symbols one next to the other.
22 Click the right mouse button to release the tool.
23 Double-click the first process and type Raise invoice in the Name box.
Note that the name of the organization unit to which the Raise Invoice
process is attached appears in the Organization Unit dropdown listbox of
the process property sheet.
24 Click OK.
44 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
Rename Into
Second process Package item
Third process Prepare for sending
Fourth process (the Use company driver
one on the left)
Fifth process (the Out source transport
one on the right)
From To
Raise invoice Package item
Package item Prepare for sending
Prepare for sending Domestic delivery
Domestic delivery Use company driver
Domestic delivery Out source transport
Use company driver Delivery complete
Out source transport Delivery complete
46 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
3 Click OK.
The selected business process diagram appears in the work area.
Go up one level
To go to the parent diagram of a composite process, you can also
select Diagram→Go Up One Level or press the CTRL key + U from
the composite process.
48 PowerDesigner
Chapter 4 How to Design a Business Process Diagram
♦ Design the various objects and their relations to describe the composite
process
♦ Navigate through business process diagrams
50 PowerDesigner
C H A P T E R 5
Now that you have created the main objects that describe the composite
process diagram, you are going to enrich it. The more a process diagram is
detailed, the more it gives information on the global process and can then be
studied and improved.
You are going to create a message format on the flow between the process
Prepare for sending and the decision Domestic delivery. You are also going to
define simple actions on processes and simple conditions on flows. Then you
will use the resource object of the parent business process diagram within the
composite process diagram. You will also check the model to ensure that the
BPM you have built is methodologically correct.
What you will do In this lesson you will:
♦ Create a message format
♦ Define actions on processes and conditions on flows
♦ Use a resource within the composite process diagram
♦ Check the BPM
The name of the new message format appears in the Message Format
dropdown listbox of the corresponding flow property sheet.
4 Click OK to close the flow property sheet.
52 PowerDesigner
Chapter 5 Working with the Composite Process Diagram
54 PowerDesigner
Chapter 5 Working with the Composite Process Diagram
4 Click in the Edit box and type Use the computed customers address
book to detail how the action is executed.
5 Click OK.
You have defined that the action invoked by the raise invoice process is
automated.
6 Repeat steps 1 to 2 to define actions on processes as follows:
3 Click OK.
4 Repeat steps 1 to 3 for the flow between Domestic delivery and Out
source transport and type No in the Alias box of the Condition page.
56 PowerDesigner
Chapter 5 Working with the Composite Process Diagram
Use a resource
A resource is similar to a data store. You access data stored in the resource
using the resource flow object. You are going to copy in the composite
process diagram the resource defined in the parent process diagram in order
to graphically show its role in that sub-process diagram.
For more information on resources, see Defining resources in chapter
Building a Business Process Model in the Business Process Model User's
Guide.
1 Click the Stock resource in the Browser and while continuing to press
the mouse button, drag it to the left of the Package item process in the
Warehousing Dpt.
Release the mouse button.
The Stock resource symbol appears in the composite process diagram.
58 PowerDesigner
Chapter 5 Working with the Composite Process Diagram
6 Verify that the Update check box is selected in the Access Mode
groupbox located in the lower part of the resource flow property sheet.
This is to express that one of the actions contained in the Package item
process is to update the Stock.
7 Click OK to close the resource flow property sheet.
60 PowerDesigner
Chapter 5 Working with the Composite Process Diagram
2 Click OK.
The Check Model Result List displays errors and warnings based on the
default options.
62 PowerDesigner
C H A P T E R 6
When you finish creating the BPM, you can organize the model using the
graphic display options.
What you will do In this lesson you will:
♦ Add rounded angles to flows
♦ Change the color of the set of swimlanes
♦ Add free text
♦ Print the model
64 PowerDesigner
Chapter 6 Organizing the Display
66 PowerDesigner
Chapter 6 Organizing the Display
The background of the set of swimlanes should be filled with the color
you have selected.
68 PowerDesigner
Chapter 6 Organizing the Display
The handles around the text disappear. The diagram should now look
like this:
70 PowerDesigner
Chapter 6 Organizing the Display
2 Click OK.
72 PowerDesigner
C H A P T E R 7
In this lesson, you are going to create a report for your model using one of
the standard templates that ship with PowerDesigner. The report will allow
you to document your model and analyze its contents.
You will focus your analysis on the composite process diagram using the
Report Object Selection dialog box.
You will then customize the report before generating it on a printed paper
and in RTF and HTM files. Then you will exit PowerDesigner, after you save
your report.
What you will do In this lesson you will:
♦ Create a model report using a standard template
♦ Focus your model analysis on the composite process diagram
♦ Customize the report
♦ Generate the report
74 PowerDesigner
Chapter 7 Managing a Model Report
5 Click OK.
Language in a template
English is the default language in which the report is printed. When
you select in the Language box a template created in a language
different from the one you select to create your report, only user-
defined items such as Title or Text paragraph will keep the language
of the template. Other items will be displayed in the report language.
For more information on languages in reports, see section Using the
Report Language Editor in chapter Using the Report Editors in the
Reports User's Guide.
The Report Editor window appears. It contains two panes: the Available
Items pane, from which you can select items to include in the report, and
the Report Items pane, in which you add the items that compose your
report. The Report Items pane is filled with the items of the template you
have selected. It contains the table of contents and all main model items.
Simultaneously, the BPM report node appears under the Reports category
in the Browser.
76 PowerDesigner
Chapter 7 Managing a Model Report
78 PowerDesigner
Chapter 7 Managing a Model Report
9 Double-click the Title item in the Report Items pane to display the Editor
dialog box.
10 Type Confidential data in the edit box and click OK.
The item becomes a node in the Reports Items pane as it can contain
other nodes or items and looks as follows:
11 Click the Text paragraph item in the Available Items pane, and drag it
over the Confidential data node in the Report Items pane.
The Text paragraph item is positioned under the Confidential data node.
You can double-click the Text paragraph item to open an edit box and
type text.
12 Right-click the Text paragraph item in the Report Items pane and select
Quick View in the contextual menu that appears.
A print preview window appears to allows you to visualize what the Text
paragraph item will look like when printed:
13 Press Esc to close the print preview window and return to the Report
Editor.
80 PowerDesigner
Chapter 7 Managing a Model Report
14 Click the Print Preview tool in the Report Editor window to open the print
preview window and see what the report will look like when printed.
15 Press Esc to close the print preview window and return to the Report
Editor.
82 PowerDesigner
Chapter 7 Managing a Model Report
84 PowerDesigner
C H A P T E R 8
Automating a Process
This lesson and the two following ones will teach you how to create an
executable BPM and implement processes with operations. You will start
with the bpmafter.bpm model located in the \Examples\Tutorial sub-directory
of you PowerDesigner directory.
In this lesson, you are going to use an executable language to generate an
executable BPM that will allow you to retrieve the work performed at the
analysis level and to refine it by specifying the implementation of atomic
processes.
You are going to perform a model to model generation using the BPEL4WS
1.1 executable language in order to generate an executable BPM from the
Electronic incoming order request process business process diagram. You are
going to assign partners to the generated top-level process in the top-level
diagram then open it to visualize how the Electronic incoming order request
process business process diagram has changed once generated into an
executable BPM. You will then save the executable BPM as it is the model
from which you are going to proceed.
What you will do In this lesson you will:
♦ Generate an executable BPM
♦ Create and assign partners to the top-level process and open it
86 PowerDesigner
Chapter 8 Automating a Process
88 PowerDesigner
Chapter 8 Automating a Process
3 Repeat the previous step for the two remaining organization units.
4 Click the Organization Unit tool in the palette then click in the diagram
window on the right of the Warehousing Dpt organization unit to create a
new organization unit that represents an outside participant.
A default name is provided.
5 Click the right mouse button to release the Organization Unit tool.
6 Click the default name once then click it again.
The default name appears within an edit zone that allows you to rename
the organization unit.
7 Type Customer and click anywhere in the diagram window, outside the
edit zone to commit the renaming of the organization unit.
8 Click the Role Association tool in the palette then click inside the
Accounting Dpt organization unit symbol and while continuing to hold
down the mouse button, drag the cursor to the Top-Level Process symbol.
Release the mouse button inside the Top-Level Process symbol.
You created an initiating role from the Accounting Dpt organization unit
to the Top-Level Process symbol.
9 Click the right mouse button to release the Role Association tool.
10 Double-click the role association you have created to display its property
sheet. You can see in the Orientation zone that the association has an
initiating role.
11 Click OK to close the property sheet.
12 Repeat step 8 for the remaining organization units.
13 Click the right mouse button to release the Role Association tool.
14 Hold down the ctrl key and double-click the Top-Level Process symbol to
open the composite process and visualize how it has changed.
There are no more resource objects nor resource flow objects as they are
not supported in the executable BPM. Message format objects are also
removed as you can no longer associate a message format with a flow in
an executable BPM. The exchange of information is no longer managed
by flows.
15 Click Save.
90 PowerDesigner
Chapter 8 Automating a Process
92 PowerDesigner
C H A P T E R 9
Now that you have generated the executable BPM, you are going to represent
the Web services required by the Record order request and the Check credit
card details processes to proceed to their implementation. To represent Web-
services you can either:
♦ Create service description objects to be able to collaborate with an
unknown partner
♦ Import a WSDL file to reuse an existing distributed component to
accomplish the activity
When you import a WSDL file, you convert Web services and their sub-
objects into service providers and their corresponding sub-objects in the
BPM.
Service description objects allow you to represent the invocation of external
services by processes. Service description objects do not have any graphical
symbol in the diagram.
For more information on service description objects, see chapter
Building an Executable BPM: Working with Service Description Objects in
the Business Process Model User's Guide.
You are going to create service description objects, define input/output
messages for the created operations, create message parts for a message
format and import the provided WSDL file.
What you will do In this lesson you will:
♦ Create service providers
♦ Create service interfaces
♦ Create operations
♦ Define input/output message for operations depending on their type
♦ Create message parts
♦ Import a WSDL file
94 PowerDesigner
Chapter 9 Manipulating Service Description Objects
96 PowerDesigner
Chapter 9 Manipulating Service Description Objects
Create operations
An operation describes the implementation of an atomic process (activity) in
the BPM. It can be sent or received by an activity. It is linked to a process
using the Implemented by property in the process property sheet.
You create operations under a service interface. It has no symbol in the
diagram.
For more information on operations, see section Defining operations in
an executable BPM in chapter Building an Executable BPM: Working with
Service Description Objects in the Business Process Model User's Guide.
1 Double-click the OrderRequestInterface service interface in the Browser
to open its property sheet.
2 Click the Operations tab to display the list of operations.
The list is empty as no operation has been defined yet.
3 Click a blank line in the list.
An arrow appears at the beginning of the line and a default name is
provided.
4 Type SubmitOrder in the Name column.
The code is equal to the name.
98 PowerDesigner
Chapter 9 Manipulating Service Description Objects
100 PowerDesigner
Chapter 9 Manipulating Service Description Objects
The name of the selected message format appears in the Message Format
dropdown listbox from the Input Message groupbox. The message
format you selected allows you to define the format of the piece of
information received by the operation.
102 PowerDesigner
Chapter 9 Manipulating Service Description Objects
1 Expand the Message Formats folder in the Browser to display its content.
2 Double click the Order request description message format in the Browser
to open its property sheet.
3 Click the Definition tab to display the corresponding page.
4 Select the Message Parts radio button beside Type to display the list of
message parts in the lower part of the dialog box.
The list is empty as no message part has been defined yet.
5 Click a blank line in the list.
A default name appears.
6 Type CustomerIdentification in the Name column.
The code is equal to the name.
7 Click Apply to commit the creation of the new message part.
8 Click the Properties tool in the toolbar to open the message part property
sheet.
9 Click the Down Arrowhead beside Data Type to display the list of
available data types.
104 PowerDesigner
Chapter 9 Manipulating Service Description Objects
The name of the Web service and port type to import appear in the
Import WSDL dialog box.
5 Click OK to import.
The Merge Models dialog box appears as the model in which you are
importing already contains data.
For more information on merging models, see section Merging
Models, in chapter Comparing and Merging Models in the General
Features Guide.
5 Click OK.
The imported elements are added to your model and are visible in the
Browser. They are also listed in the General and Reverse pages of the
Output window, located in the lower part of the main window.
106 PowerDesigner
Chapter 9 Manipulating Service Description Objects
♦ Create operations
♦ Define input/output message for operations depending on their type
♦ Create message parts
♦ Import a WSDL file
108 PowerDesigner
C H A P T E R 1 0
Implementing Processes
Now that you have created the required service description objects, you are
going to use the operations you created to implement atomic processes
(activities), you will also have to indicate the way to implement them using
operations and manage data shared by the processes.
Implementing a process with operations mainly involves the following in the
process property sheet:
♦ Choose a type of implementation
♦ Select the implementation operation
♦ Choose an action type
♦ Define received and/or sent messages
You are going to implement processes with operations as follows:
In the Implementation page of a process property sheet, you can define how
the process is implemented, in order to be executed by the process language
engine you have selected when you generated the executable BPM.
You will choose the Execute operation type for the above mentioned
processes, as you are going to implement these processes by operations (send
or receive messages).
This type of implementation lets you create two kinds of activities:
♦ Receive activities as it allows a business process to provide services to
its partners
♦ Send activities as it allows a business process to make invocations to
Web services provided by partners
110 PowerDesigner
Chapter 10 Implementing Processes
6 Click OK.
8 Click the Create tool beside the Message Mapping dropdown listbox
from the Received Message groupbox.
A confirmation box prompts you to commit the creation of the message
mapping, click Yes. The property sheet of the variable opens to the
General page. The variable object allows you to retrieve the value of the
message. It corresponds to the first message of the operation for receive
activities, and to the second message of the operation for activities that
send messages. It also allows you to specify where the information sent
by partners to the process is locally stored.
9 Type OrderRequestVar in the Name box.
The code is equal to the name.
112 PowerDesigner
Chapter 10 Implementing Processes
Object Name
Message mapping ReceiptAcknowledgeVar
12 Select the Constant check box in the lower part of the dialog box to
specify that the variable is constant during the execution of the process.
13 Click the Value tab to display the corresponding page.
14 Type the following in the edit box: Dear customer, We acknowledge receipt of
your order and thank you for your confidence. We are going to handle your order.
Sales Dpt.
114 PowerDesigner
Chapter 10 Implementing Processes
6 Click OK.
8 Click the Create tool beside the Message Mapping dropdown listbox
from the Received Message groupbox.
A confirmation box prompts you to commit the creation of the message
mapping, click Yes. The property sheet of the variable opens to the
General page. The variable object allows you to retrieve the value of the
message. It corresponds to the first message of the operation for receive
activities, and to the second message of the operation for activities that
send messages. It also allows you to specify where the information sent
by partners to the process is locally stored.
116 PowerDesigner
Chapter 10 Implementing Processes
Object Name
Message mapping CreditCardVar
118 PowerDesigner
Chapter 10 Implementing Processes
You specify the reference to the Parameters message part because the
assigned variable is typed by the checkCreditCardSoapIn message
format. Parameters represents its message part.
6 Click the Transformation tab to display the corresponding page.
7 Select OrderRequestVar from the Input Variable dropdown listbox.
You specify the source variable that contains the data to retrieve.
8 Select CustomerIdentification from the Input Part dropdown listbox.
120 PowerDesigner
Chapter 10 Implementing Processes
Exit PowerDesigner
You are going to save and close the BPM, then exit PowerDesigner.
1 Select File→Save to save the BPM.
2 Select File→Close to close the model.
3 Select File→Exit.
A confirmation box asks you if you want to save the Workspace.
4 Click the No button.
You exit the PowerDesigner application. You have now completed the
BPM tutorial.
122 PowerDesigner
BPM Glossary
action Defines the nature, the type and the duration of an action that a process
executes
analysis BPM BPM created using the Analysis business process language. It does not
include any implementation details
Binary Set of Business Activities in a collaborative BPM, which can consist in
Collaboration conducting a Business Transaction or another complete Binary Collaboration
Business Defines which document follows, which document within a business
Document flow transaction in a collaborative BPM
business process Activity that a business can engage in and for which it would generally want
one or more partners
Business Process Conceptual model which provides a close description of the business logic
Model (BPM) and rules from a business partner's point of view using a diagram that shows
interactions between processes, flows, messages and collaboration protocols
from one or several start points to several potential end points
business rule Written statement specifying what the information system must do or how it
must be structured to support business needs. It guides and documents the
creation of a model (example: a government-imposed law)
Business Atomic interaction (in a trading arrangement) between two business partners
Transaction that consists in one or two predefined business document flows
choreography External view to defines the flow of information exchanges among a set of
participants to implement a business process composing multiple Web
services
collaboration Agreement among a set of participants to achieve a common goal or specified
outcome in a shared process
collaborative BPM BPM created using a collaborative business process language (usually
ebXML). It is particularly suitable to describe the collaborations between
partners that are all considered at the same level
committee process Composite process whose sub-processes are managed by several organization
units designed as swimlanes
composite process Child process used to describe the actions of the parent process
composite view Expanded view of a composite process in a diagram to have a global view of
the whole sub-diagram content
condition A condition that must be satisfied for an associated flow to execute some
action
correlation Ordered list of variables in an executable BPM
CRUD matrix Table that shows the links between processes and resources. When a link
exists, it shows whether the process performs a Create, Read, Update, or
Delete operation on the resource
data Defines the type of information exchanged between business processes
data transformation Object in an executable BPM that is used to copy data from one variable to
another
decision Specifies which alternate path has to be taken when several flow paths are
possible
dependency Semantic relationship between two modeling elements, in which a change to
one modeling element (the influent element) may affect the semantics of the
other modeling element (the dependent element)
diagram Graphical view of a model or package, which displays object symbols
ebXML Set of specifications for standardizing XML globally in order to facilitate
business over the Internet between companies of any size.
end Represents a termination point of the processes described in the business
process diagram
event Occurrence of an interruption in the normal execution of the process in an
executable BPM
event handler Manages the handling of process events
exception Signal raised in response to behavioral faults during system execution
executable BPM BPM created using an executable business process language. It can help you
design the process internal to an organization or the orchestration of Web
services without being linked to any platform or language
flow Interaction between two objects with potential exchange of data
fork Type of synchronization that defines the splitting of an input flow into several
output flows executed in parallel
join Type of synchronization that defines the synchronization of several parallel
flows
124 PowerDesigner
BPM Glossary
service interface Object in an executable BPM that gathers a set of operations, for which it
represents a namespace
service provider Object in an executable BPM that gathers a set of service interfaces, for
which it represents a namespace
shortcut Object representing and referencing an object in the same model, or across
different models
simulation A way to move to the most effective process without making costly mistakes
start Starting point of the whole process represented in the business process
diagram
stereotype Sub-classification used to extend the semantics of an object without changing
its structure; it can be predefined or user-defined
swimlane UML representation of the organization unit
synchronization Synchronization point between parallel executions (several input flows, one
or several output flows waiting for the end of all input executions)
top-level diagram Defined under a model or a package, it represents the subject of the process
model, and sets the model scope and orientation in a collaborative BPM
top-level process Global service that does not belong to a graph but describes its behavior in a
sub-graph
UDDI The Universal Description Discovery and Integration specification is an
XML-based registry for businesses worldwide that list them on the Internet
variable Data container local to a process in an executable BPM
Web service A Web service is a service offered via the Web. It is an application that
accepts XML formatted requests from other systems across a network via
communications protocols
WSDL Web Services Description Language. XML formatted interface for a web
service that describes what a web service is capable of, and how a client can
locate and invoke that service
126 PowerDesigner
Index
A
action in process 54 D
adjust display scale 17 data transformation 118
analysis BPM 1 decompose process 37
angle on flow 64 delete
assigned object 10
part 118 symbol 10
variable 118 detach symbol 10
diagram
print 71
property 24
B display
bibliography vii adjust 17
BPEL4WS 86 BPM 63
BPM organize 63
check 61 preferences 21
close 121 print preview 78
create 9
define 1, 21
design 35
display 63 E
examples 6 executable BPM 2
install 6
manage report 73
open 8, 17
options 23 F
preferences 21 flow
properties 24 add angles 64
save 26, 121 condition 56
link objects 46
free text 69
C
check BPM 61
close BPM 121 G
color in set of swimlanes 67 generate
composite process 27 executable BPM 86
create 37 HTML report 82
create objects 40 RTF report 82
condition on flow 56 graphic to print 71
create composite process (ctrl+double-click) 37
128 PowerDesigner
T
tool palette 10
top-level process
organization unit 88
partner 88
role association 88
typographic conventions vii
W
WSDL file 105