Page 245 -
P. 245
238 S. Clemens et al.
<flow source="Create_Purchase_Order_104" target="Approve_Purchase_Order_1901">
...
<attributes>
<lineStyle>11</lineStyle>
<points>
<value x="192.5" y="111.0" />
<value x="191.5" y="153.0" />
</points>
</attributes>
</flow>
Listing 8.2 Layout information for task Create Purchase Order
8.7 Summary
This chapter introduced the main features of the YAWL Editor. It showed how to
create and analyze the control logic of a YAWL process, how to specify the involved
data, and how to link organizational resources to process tasks.
Moreover, the chapter demonstrated the error reporting feature of the Editor and
provided an overview of the YAWL interchange format.
Exercises
Exercise 1. Download the Editor from SourceForge (more details in the Chapter
Notes) and start the tool. Open the Order Fulfillment example available with the
distribution and browse the various subnets (cf. Appendix A). Specifically, check
how data and resourcing requirements have been specified and how different icons
were used to identify the various task types.
Exercise 2. Create a workflow specification with two atomic tasks: Enter command
and Display command. Through the first task the user should be able to enter a
sequence of characters into a variable Command of type string.The value of Com-
mand should then be displayed via the second task. Enrich the specification with
icons from the Task Icons palette.
Exercise 3. Extend the above example such that after displaying a command, the
user should be asked to enter another command. However, if the user enters the
command quit, the process should terminate straightaway without displaying the
command quit.
Exercise 4. Introduce a timer task Timeout, which cancels task Enter command if
no command is given within 20 s. In this case, ensure that the message timeout has
been triggered is visualized in task Display command. What happens to task Timeout
if Enter command is completed in time?
Exercise 5. Create a YAWL workflow specification, which represents the following
credit card application process: