TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Introduction of Intalio|Designer 6.0.1
6 0 1 and
Intalio|Server 6.0.1
Hong Guo
(guohong@idi.ntnu.no)
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Agenda
g
Where to download and where to find help
How to design a process using
Intalio|Designer
How to run Intalio|Server (talk later)
How to implement, deploy, and test your
process (talk later)
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Download Here
http://community.intalio.com/downloads.htm
y
Intalio|Designer 6.0.1 for Windows
Intalio|Server 6.0.1 (will be needed in Exercise
3. Talk about it a bit later)
Note: you need to register first before your
can download the products.
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Find Help
p Here
Intalio Community
y Website Documents
http://community.intalio.com/help.html
Getting Started Guides,
Tutorials,
Samples,
...
Some are not upgraded to latest version, but
still useful
useful.
Help contents in Intalio|Designer
Most skills needed for exercises will also be
introduced in exercise lectures
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Agenda
g
Where to download and where to find help
How to design a process using
Intalio|Designer
How to run Intalio|Server (talk later)
How to implement, deploy, and test your
process (talk later)
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio|Designer
|
g
Introduction
Integrated Process Development Environment
Powered by Eclipse
Built on top of the popular Eclipse platform.
It is a collection of Eclipse plugins, and runs on any of the many operating
systems supported by the Eclipse workbench, including Linux, Mac OS X,
and Microsoft Windows
Windows.
You can install other plugins for version control, task management, and etc.
Zero Code Process Design
Is used by business analysts
analysts, software engineers
engineers, and system
administrators for supporting the modeling of business-level processes,
their binding onto external systems and user interfaces, and their
deployment onto Intalio|Server respectively.
Intalio|Designer is the only tool currently available on the market that allows
any BPMN model to be turned into fully executable BPEL processes without
having to write any code.
One-Click Process Deployment
A single
i l click
li k validates
lid t the
th process, generates
t the
th code,
d checks
h k ffor allll
dependencies, deploys all artifacts onto Intalio|Server, and your process is
up and running.
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio|Designer
|
g
Window
More than one Workbench window can exist on the desktop at
any given time
Each Workbench window contains one or more perspectives
Perspectives
Perspectives contain views and editors and control what appears
in certain menus and tool bars.
Window->Open
Window
>Open Perspective
Perspective->Intalio|Designer
>Intalio|Designer
Views
support editors and provide alternative presentations as well as
ways to navigate the information in your Workbench
Editors
You can associate different editors with different types of files.
Any number of editors can be open at once, but only one can be
active at a time.
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio|Designer
|
g
Below contents are from p9-p25 of the last
years slides
It is about Intalio 5.2.0, but most parts fit.
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Running
g Intalio BPMS designer
g
for the first
time
Click the Intalio BPMS
designer icon to start
it
Select workspace
If you want to make
workspace launcher
di l
dialoge
go away,
Please uncheck the
box.
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio BPMS designer
g
10
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Create a new Project
j
Right click in the process exploree, new business process
project
11
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Right click on your project:
New Business Process Diagarm
New...Business
12
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Name your diagram
As a best practice, do not use space in the file name
13
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio BPMS modeling
g perspective
p
p
14
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Focus on the modeling
T
Turn
off
ff decoration
d
i and
d error checking
h ki
15
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Process Explorer View
Shows your projects and files
Paletee View
Shows BPMN shapes
available for creating
diagrams
BPMN Specification 1.1
16
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Overview Panel
Shows your entire diagram
and allows for quickq
scrolling
17
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Intalio| BPMS Designer provides other views that are
primariily used by process analysts to fully implement
business processes and depoly them in the runtime,
runtime
including:
D t Edit
Data
Editor
Data Mapper
Problems
Form Editor
Dependencies
18
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
How to show more views?
ClickWindowShow View
19
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Three Ways to Create Diagram Shapes
1.
Use the Palette View
2.
Use the Diagram Assistant Pop-ups in the diagram
3.
Use the Diagram Drag and Drop connector lines
20
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Three Ways to Create Diagram Shapes
1.
Use the Palette View
2.
Use the Diagram Assistant Pop-ups in the diagram
3.
Use the Diagram Drag and Drop connector lines
21
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Three Ways to Create Diagram Shapes
1.
Use the Palette View
2.
Use the Diagram Assistant Pop-ups in the diagram
3.
Use the Diagram Drag and Drop connector lines
22
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
You can change the popup menus to your
preference
It may be easier to start with Turning off pop-up menus
How? (ClickWindowPreference)
23
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Import an existing project in Intalio BPMS
Designer
Click file->Import
Select existing
projects into
workplace
24
Two ways to import
projects:
j
Select root directory
Select archive file
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Save or Export
p
Project
j
Save
Export
Problems
25
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Design
g Processes
Live Demo
Design your first process now (exercise 2)
Let me know if you have any problems.
Write an its learning message or email to me.
Book my time by email if you need f2f
assistance.
26
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Suggestions?
gg
Time slot okay?
y
Your background?
Less or more detailed?
You wanna to try at the same time?
27
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Agenda
g
Where to download and where to find help
How to design a process using
Intalio|Designer
How to run Intalio|Server
How to implement, deploy, and test your
process
28
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Run Intalio|Server
|
Prerequisite
Runtime Installation
Starting Intalio|BPMS Runtime
Starting Intalio|BPMS Console, Deploy and
Run
http://community.intalio.com/gettingp
y
g
g
started/getting-started-with-intalio-bpmsserver.html
29
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Prerequisite
q
Operating
g system:
y
Microsoft Windows XP or
Microsoft Windows 2000 or Microsoft Windows
2003 Server or Linux or Mac OS X
Memory: a minimum
M
i i
off 512Mb off RAM available
il bl
for applications
Disk space: a minimum of 200 MB of disk space
lastest JDK 1.5 or 1.6
set the JRE
JRE_HOME
HOME environment variable to "C:\Program
C:\Program
Files\Java\jre6, or,
set the JAVA_HOME environment variable to "C:\Program
Files\Java\jdk1 6 0 13
Files\Java\jdk1.6.0_13
Port 8080 must also be available,
If you need to change Intalio
Intalios
s HTTP port, we provide a
script to update all server files located at
<IntalioServer>/extras (groovy.bat or groovy.sh).
30
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
31
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Runtime Installation
1)) Download the latest Intalio|BPMS
|
Server
from the Downloads section.
2) Extract on your computer (e.g. C:\intaliob
bpms).
)
The path of the directory you extract to can not
contain anyy spaces.
p
32
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Starting
g Intalio|BPMS
|
Runtime
Execute the following
g commands:
cd $BPMS\\bin
startup.bat
You should see the following appear:
The runtime is ready when you see the
following:
10:42:29,121 INFO [Catalina] Initialization processed in
1974 ms
10:43:41,113 INFO [Catalina] Server startup in 71970
ms
Thi command
This
d will
ill nott return.
t
To stop the process runtime, you can close the
command window or hit Ctrl-C.
33
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Starting
g Intalio|BPMS
|
Console,, Deploy
p y and
Run
Starting
g Intalio|BPMS
|
Console
1) Point your browser to http://localhost:8080/bpmsconsole
2) Enter login information
Username: admin Password: changeit
Deploy and Run
You are now ready to model, deploy and execute your
process
Intalio|BPMS Server is also shipped with the Absence
Request example.
34
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Agenda
g
Where to download and where to find help
How to design a process using
Intalio|Designer
How to run Intalio|Server
How to implement, deploy, and test your
process
35
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Implementing
p
g the process
p
1, Create an interface to define how our
process will be exposed to the external world
1.1 Involving a new participant
12D
1.2
Defining
fi i th
the messages
2, Define the graphical data mappings
2 1 Working with Data Mapper
2.1
2.2 Mapping Data
36
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Simple
p samples
p
http://community.intalio.com/tutorialsy
5.2/implementing-your-first-process-in-5.2beginner.html
http://community.intalio.com/sampleshtt
//
it i t li
/
l
6.0/ifthenelse.html
37
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
1.1 Involving
g a new participant
p
p
An interface is represented by
y a participant
that is calling the process.
One process can have one or multiple interfaces.
The iinteraction
Th
t
ti b
between
t
a process and
d one off itits
interface will be described in a WSDL(automatically
generated).
To define an interface, simply drag-and-drop a
new pool in the diagram.
Mark this pool as being non-executable
non executable as explained
above.
Indeed the new pool we have just created does not represent a
process that will execute. It is used to represent how the process will
be called by the 'external world'
world'.
In the newly created pool, drag-and-drop a BPMN task
and connects it to tasks in your pool with messages.
38
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
1.2 Defining
g the messages
g
Defining
g an interface means defining
g the
messages:
what data is my process expecting to start?
what
h t data
d t is
i my process going
i tto send
db
back?
k?
In your Process Explorer, expand the XML
Schema file (generated in Eclipse) to see all
the root elements that can be used to define
the XML Structure of each message.
Select node, drag and drop it on
corresponding message.
A littl
little icon
i
will
ill appear on the
th message link
li k
illustrating that an XML Structure has been
defined for the message.
39
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Tip: If you forget the XML Structure you have
assigned to a message,
message simply right-click
right click on the
message and you can choose Show Schema in
Process Explorer or Show Schema Element in
Process Explorer
Tip:
Tip: Unlink attached schema type in right-click
right click
menu removes the definition.
40
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
To include a schema file in Intalio project:
j
Install EMF related plugins in Intalio environment, and
create the schema file in the same project
(recommended)
Drag (from Eclipse for instance) to corresponding folder
in Project Explorer View (sometimes does not work...)
Copy the file to the project folder
folder, then right click the
folder icon in Project Explorer View, and click refresh
41
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
2.1 Working
g with Data Mapper
pp
The Data Mapper is a g
graphical tool that
allows you to define data transformation
between variables as well as define
conditions in a process.
Variables are automatically created for you when you
integrate an external WSDL or when you drop an XML
Schema on a message.
Intalio|BPMS Designer automatically initializes the
variables.
Data Mapper
Reference Guide:
http://community.int
alio.com/referenceguides/intaliob
bpms-designerd i
data-mapper.html
If needed you can overwrite the default initialization by right
right-clicking
clicking
on their name in the Data Mapper.
In BPEL, you can theoretically manipulate all the
variables at anyy stage
g of the p
process and the Mapper
pp
offers a user-friendly filtering mechanism to improve the
user experience.
You are free to disable filtering if you wish.
42
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
The Data Mapper is composed of two views
(sometimes also called "panels"):
The Mapper Palette
Gives access to all "operators"
operators that may be used in the mapper.
mapper
More information is given in Properties View when you click one
operator. You can copy the information if there is not enough space
to display it.
The Mapper View
The area where you actually define your mappings.
43
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
The Mapper View (Contd)
the area where you actually define your mappings.
The first column on the left defines the source data for the mapping
and list all the process data variables.
The third column on the right defines the destination data for the
mapping and also list all process data variables.
The second column in between is a work area where operators can
be dropped and used to transform the source data before mapping it
to the destination data.
data
44
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Using
g Operators
There are two ways you can add an operator in the
middle section of the Mapper view.
First,, you
y mayy drag-and-drop
g
p any
y operator
p
from the Mapper
pp Palette
into the Mapper view.
You may alternatively use the "Operator" tool in the Mapper toolbar.
To use the "Operator" tool:
45
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
To provide input parameters to an operator, create links
f
from
the
h source - either
i h another
h operator or an element
l
in the input data - to the operator. The elements that you
link to the operator will be passed in the same order.
To pass the
T
th output
t t off an operator
t to
t a target
t
t element
l
t or
another operator, create a link from the operator to the
target element or operator.
46
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
To create a link:
Click on the Connector Tool [Connects operator and
nodes button]in the Mapper Toolbar.
Alternatively, move your mouse over the end of an
Alternatively
operator or tree node, the pointer changes to show you
that you can click here to start a link. Click here, release
the button, move to your target node or operator and
click again to create your link.
47
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
2.2 Mapping
pp g Data
Click on the task/message
g event to open its
corresponding Mapper.
Using links
U i operators
Using
t
Mappings are not always one to one mappings.
Indeed sometimes you need to act on the data. To
h dl such
handle
h cases, you can use one off th
the 150
operators available.
48
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Deploy
p y and Test y
your Process
49
Using
the Deploy
button in the
IDE
TDT4250 - Model-driven Development of Information Systems, Autumn 2009
Notes:
In case abnormal issues, try
Restart Intalio|Designer
Restart Server
Restart computer (rarely needed)...
Create new project
Li Demo
Live
D
Questions?
50