Download YAWL User Manual 3.0 version

Transcript
4.4. THE CONTROL-FLOW PERSPECTIVE
53
– Launch New Case: When selected, the current specification will be loaded into the Engine and a
new instance of it will be launched.
Make the appropriate selections in the dialog then click OK to upload the currently loaded specification
into the Engine. The specification will first be automatically verified, and the upload will proceed only if
there are no validation errors. If the specification is valid and you chose to launch a new case, a message
will appear with the case id of the launched case, if successful, or an error if there were any problems.
NOTE: The Engine requires that all specification layout information (i.e. element locations, colours, fonts,
icons. etc.) be removed from a specification when it is uploaded. Because of this, the Editor will save the
layout information to repository when the specification is uploaded. If the specification is later downloaded,
its layout information will be automatically reattached by the Editor. If you download a specification from
the Engine to a computer other than that which it was uploaded from, the layout information will not be
available to the Editor, and so a default layout will be calculated.
4.4
The Control-Flow Perspective
A workflow specification can be broadly divided into three aspects or perspectives: control-flow (how and
when execution of a specification progresses through its various elements), data (how and when data values
are passed and populated), and resource (what human and non-human resources are required to perform
the work defined within the specification).
This section presents a hands-on walk-through that covers the basic control-flow components of the YAWL
language, and how to use those components to develop a YAWL specification for a simple business scenario
from beginning to end (the data and resource perspectives are discussed in the sections following this one).
Designing the control-flow of a specification begins with choosing the required components from the Palette
and laying them out on the canvas.
The scenario that we will follow throughout this section involves designing and implementing a workflow
for a student who has just completed their secondary study and is now looking to start their career. The scenario will present the student with two choices: to either enrol in a University and begin tertiary education,
or undertake private study that will eventually lead to getting a job.
Look for the “hands-on” icon to the left of instructions for specific details of practical examples.
4.4.1
Create a New Specification
Create a new specification in the Editor as described in the previous section, then:
1. In the Specification section of the Properties Pane, edit the various properties as you feel appropriate
(optional). For the moment, you can ignore the Data Definitions property.
2. Rename the Net by editing the Name property in the Net section of the Properties Pane. Change the
name of the Net to “My Career”. This Net will be the root net for our scenario.
3. You are now ready to start constructing your specification.
4.4.2
Atomic Tasks
An atomic task represents a single unit of work, which may involve interaction with a user via a worklist or
with an external application or web service.
To add an Atomic task to the canvas: