framework and its applicability in realistic domains,
we have developed a proof-of-concept prototype sys-
tem and we have instantiated it on a medical domain.
The approach proposed in this paper has the fol-
lowing advantages:
• First of all, the introduction of abstraction en-
hances the readability of the context-sensitive
workflow, which could be very hard to under-
stand, if represented as a flat graph including all
the alternative courses of action.
• Second, the organization of context-sensitive
workflows as a hierarchy of simpler workflows
with applicability conditions supports a seamless
extension of the business logic of an application to
take new contextual conditions and new courses
of action into account. In fact, a context-sensitive
workflow can be extended by replacing any con-
crete activity with an abstract activity and its im-
plementations. Moreover, given an abstract activ-
ity, a new context-dependent implementation can
be added by revising the applicability conditions
of the existing implementations and introducing
the new one in the workflow specification.
• Finally, the introduction of abstraction enables the
designer to define the workflowtop-down,starting
from a general view of the activities to be man-
aged, and specifying the low-level details later on.
In our medical domain, this separation helped us
to focus first on the most relevant aspects of the
medical guideline (provided by a physician), and
to postpone the specification of details such as re-
serving an ambulance or requesting a nurse.
It should be noticed that the hierarchical workflows
we propose can be executed by a standard workflow
engine without the Personalization Module. In fact,
although abstract activities and contextual conditions
extend the syntax of standard workflow languages, a
hierarchical workflow could always be translated to
a flat one by replacing abstract activities with deci-
sion points and by including the alternative courses
of action directly into a flat workflow. However, this
translation would generate workflows which are very
difficult to read and debug. For this reason, we pre-
ferred to extend the capabilities of the workflow en-
gine by making it invoke the Personalization Module,
specialized in the execution of adaptation strategies.
As discussed in the paper, even this extension can
be performed by a standard workflow engine without
modifying its core, if the context-sensitive workflow
is translated to an intermediate representation which
maintains its hierarchical structure but expands the
code of the abstract activities. We believe that our ap-
proach is strategic because the Personalization Mod-
ule, which now evaluates boolean conditions, might
be extended to handle complex adaptation rules, with-
out modifying the rest of the system.
ACKNOWLEDGEMENTS
This work is supported by the EU (project WS-
Diamond, grant IST-516933) and by MIUR (project
QuaDRAnTIS).
REFERENCES
Balke, W. and Wagner, M. (2003). Towards personalized
selection of Web Services. In Proc. of 12th Int. World
Wide Web Conference (WWW’2003), Budapest.
Benlismane, D., Maamar, Z., and Ghedira, C. (2005). A
view-based approach for tracking composite Web Ser-
vices. In Proc. of European Conference on Web Ser-
vices (ECOWS-05), pages 170–179, V¨axj¨o, Sweden.
Firby, R. (1987). An investigation into reactive planning in
complex domains. In Proc. 6th Conf. AAAI, Seattle
(WA).
Georgeff, M. and Lansky, A. (1987). Reactive reasoning
and planning. In Proc. 6th Conf. AAAI, pages 677–
682, Seattle.
Jensen, K. (1976). Coloured Petri nets: basic concepts,
analysis methods and practical use. Springer-Verlag,
Berlin.
Keidl, M. and Kemper, A. (2004). Towards context-aware
adaptable Web Services. In Proc. of 13th Int. World
Wide Web Conference (WWW’2004), pages 55–65,
New York.
Koenig, J. (2004). JBoss jBPM white paper.
http://www.jboss.com/pdf/jbpm
whitepaper.pdf.
Laures, G. and Jank, K. (2005). Adaptive Ser-
vices Grid Deliverable D6.V-1. Reference archi-
tecture: requirements, current efforts and de-
sign. Technical report, http://asg-platform.org/cgi-
bin/twiki/view/Public/ReferenceArchitecture.
Mandell, D. J. and McIlraith, S. A. (2003). Adapting
BPEL4WS for the Semantic Web: The bottom-up ap-
proach to Web Service interoperation. In LNCS 2870,
Proc. 2nd International Semantic Web Conf. (ISWC
2003), pages 227–241. Springer-Verlag, Sanibel Is-
land, Florida.
McIlraith, S., Son, T., and Zeng, H. (2001). Semantic Web
Services. IEEE Intelligent Systems, 16(2):46–53.
OASIS (2005). OASIS Web Services Business
Process Execution Language. http://www.oasis-
open.org/committees/
documents.php?wg
abbrev=wsbpel.
van der Aalst, W. (2002). Making work flow: on the appli-
cation of Petri Nets to Business Process Management.
In Proc. of 23rd Int. Conf. on Applications and Theory
of Petri Nets, pages 1–22, Adelaide, South Australia.
A FRAMEWORK FOR THE MANAGEMENT OF CONTEXT-AWARE WORKFLOW SYSTEMS
87