<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Facilitating Flexibility and Dynamic Exception Handling in Workflows through Worklets</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michael Adams</string-name>
          <email>m3.adams@qut.edu.au</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Arthur H. M. ter Hofstede</string-name>
          <email>a.terhofstede@qut.edu.au</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Edmond</string-name>
          <email>d.edmond@qut.edu.au</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wil M. P. van der Aalst</string-name>
          <email>w.m.p.v.d.aalst@tm.tue.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Centre for Information Technology Innovation Queensland University of Technology</institution>
          ,
          <addr-line>Brisbane</addr-line>
          ,
          <country country="AU">Australia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Technology Management Eindhoven University of Technology</institution>
          ,
          <addr-line>Eindhoven</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents the basis of an approach for dynamic e xibility, evolution and exception handling in work o ws through the support of e xible work practices, based not on proprietary frameworks, but on accepted ideas of how people actually work. A set of principles have been derived from a sound theoretical base and applied to the development of worklets, an extensible repertoire of self-contained sub-processes that can be applied in a variety of situations depending on the context of the particular work instance.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Work o w systems are used to con gure and control structured business processes from
which well-de ned work o w models and instances can be derived [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. However, the
proprietary frameworks imposed make it dif cult to support (i) dynamic evolution (i.e.
modifying process instances during execution) following unexpected or
developmental change in the business processes being modelled [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]; and (ii) deviations from the
process model at runtime [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        These limitations mean a large subset of business processes do not easily map to
the rigid modelling structures provided [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], due to the lack of e xibility inherent in a
framework that, by de nition, imposes rigidity. Process models are ‘system-centric’, or
straight-jacketed [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] into the supplied framework, rather than truly re ecting the way
work is actually performed. As a result, users are forced to work outside of the system,
and/or constantly revise the static process model, in order to successfully support their
activities, thereby negating the ef cienc y gains sought by implementing a work o w
solution in the rst place. It is therefore desirable to extend the capabilities of work o w
systems by developing an approach based on natural work practices.
      </p>
      <p>This paper introduces the concept of ‘worklets’, an extensible repertoire of
selfcontained sub-processes and associated selection and exception handling rules, and
grounded in a formal set of work practice principles called Activity Theory, to support
the modelling, analysis and enactment of business processes. It is organised as follows:
Section 2 surveys issues of dynamic evolution and exception handling in work o ws,
provides a brief overview of Activity Theory, then introduces the worklet paradigm.
Section 3 describes how the worklet approach utilises Ripple Down Rules to achieve
contextual, dynamic selection at runtime.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Achieving Flexibility through Worklets</title>
      <p>Rather than continue to try to force business processes into in e xible frameworks (with
limited success), a more e xible approach is needed that is based on accepted ideas of
how people actually work.</p>
      <p>
        A powerful set of descriptive and clarifying principles that describe how work is
conceived, performed and re ected upon is Activity Theory, which focusses on
understanding human activity and work practices, incorporating notions of intentionality,
history, mediation, collaboration and development [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. (A full exploration of Activity
Theory can be found in: [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]). In [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], the authors undertook a detailed study of Activity
Theory and derived from it a set of principles that describe the nature of participation
in organisational work practices. Brie y , the relevant principles are:
1. Activities (i.e. work processes) are hierarchical (consist of one or more actions),
communal (involve a community of participants working towards a common
objective), contextual (conditions and circumstances deeply affect the way the objective
is achieved), dynamic (evolve asynchronously), and mediated (by tools, rules and
divisions of labour).
2. Actions (i.e. tasks) are undertaken and understood contextually. A repertoire of
actions is maintained and made available to any activity, which may be performed
by making contextual choices from the repertoire.
3. A plan is not a prescription of work to be performed, but merely a guide which is
modi ed during execution depending on context.
4. Exceptions are merely natural deviations from a plan, and will occur with every
execution, giving rise to learning experiences which can then be incorporated into
future instantiations of the plan.
      </p>
      <p>Consideration of these derived principles have led to the conception of a exible
worko w support system that:
– regards the process model as a guide to an activity’s objective, rather than a
prescription for it;
– provides for a dynamic repertoire (or catalogue) of actions to be made available for
each task at each execution of a process model;
– provides for choices to be made dynamically from the repertoire at runtime by
considering the speci c context of the executing instance; and
– allows those contextual choices to be made, not only for each task, but for
appropriate exception handling techniques using the same selection and invocation
mechanism, thus incorporating process exceptions, not only as part of the model,
but as normal and valuable events that lead to natural process evolution.</p>
      <p>Each task of a process instance is linked to a extensible repertoire of actions, one of
which is contextually chosen at runtime to carry out the task. In this work, we present
these repertoire-member actions as “worklets”. In effect, a worklet is a small,
selfcontained, complete work o w process which handles one speci c task (action) in a
larger, composite process (activity). A sequence of worklets are chained to form an
entire work o w process. Note that in Activity Theory terms, a worklet may represent
one action within an activity, or may represent an entire activity. Indeed, a top-level
or manager worklet is developed that captures the entire work o w at a macro level.
From that manager process, worklets are contextually selected and invoked from the
repertoire of each task.</p>
      <p>In addition, for each exception (an event that is not expected to occur in most
instances), a complementary worklet for handling the event may be de ned, to be
dynamically incorporated into a running work o w instance on an as-needed basis. Further,
worklets to handle these potential events are constructed in exactly the same way as
those for standard processes. Importantly, the method used to handle an exception is
captured by the system, and so a history of the event and the method used to handle
it is recorded for future instantiations. In this way, the process model undergoes a
dynamic natural evolution. At the same time, a repertoire for each task is dynamically
constructed as different approaches to completing a task are developed, derived from
the context of each process instance.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Context and Worklet Selection</title>
      <p>
        In order to realise the worklet approach, the situated contextual factors relevant to each
case instance are required to be quanti ed and recorded [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] so that the appropriate
worklet can be ‘intelligently’ selected from the repertoire at runtime.
      </p>
      <p>The types of contextual data that may be recorded and applied to a business case
may be categorised as follows (examples are drawn from a Conference Proceedings
process):
– Generic (case independent): data attributes that can be considered likely to occur
within any process (of course, the data values change from case to case). Such data
would include descriptors such as created when, created by, times invoked, last
invoked, current status; and agent or worker descriptors such as experience, skills,
rank, history with this worklet and so on. Process execution states also belong to
this category.
– Case dependent with a-priori knowledge: that set of data that are known to be
pertinent to a particular case or instantiation. Generally, this data set re ects the
data objects of a particular process instance. Examples are: the dates invitations,
papers and reviews sent and received; timeouts both approaching and expired; and
actual committee member, reviewer and paper data.
– Case dependent with no a-priori knowledge: that set of data that only becomes
known when the case is active and deviations from the process occur. Examples in
this category may include data that describe a missing paper, a request to withdraw
a paper or a conference cancellation.</p>
      <p>
        Each worklet is a representation of a particular situated action, the runtime selection
of which relies on the relevant context of each case instance, derived from case and
historical data. The worklet selection process is achieved through the use of modi ed
Ripple Down Rules (RDR), which comprise a hierarchical set of rules with associated
exceptions, rst devised by Compton and Jansen [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>
        The fundamental feature of RDR is that it avoids the dif culties inherent in
attempting to compile, a-priori, a systematic understanding, organisation and assembly of all
knowledge in a particular domain. Instead, it allows for general rules to be de ned rst
with re nements added later as the need arises [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>
        An RDR Knowledge Base is a collection of simple rules of the form “if condition
then conclusion”, conceptually arranged in a binary tree structure ( g. 1). Each rule
node may have a false (‘or’) branch and/or a true (‘exception’) branch to another rule
node, except for the root node, which contains a default rule and can have a true branch
only. If a rule is satis ed, the true branch is taken and the associated rule is evaluated; if
it is not satis ed, the false branch is taken and its rule evaluated [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. When a terminal
node is reached, if its rule is satis ed, then its conclusion is taken; if its rule is not
satis ed, then the conclusion of the last rule satis ed on the path to that node is taken.
This tree traversal provides implied locality - a rule on an exception branch is tested for
applicability only if its parent (next-general) rule is also applicable.
      </p>
      <p>1
ClaimAmount &gt; $10,000</p>
      <p>ReferToManager
Condition not satisfied</p>
      <p>Condition satisfied
0
true
AssessClaim
2
ClaimsYTD &gt;= 1
InvestigateClaim
condition
conclusion
3
AssessorRank &gt;= “Senior”</p>
      <p>AssessClaim
4
ClaimAmount &lt; $3,000
AssessClaim
6
ClaimAmount &gt; $50,000</p>
      <p>ReferToManager
7
StormDamage
ExpressPayment
5
ClaimantStatus = “Suspect”</p>
      <p>Investigate</p>
      <p>If the conclusion returned is found to be unsuitable for a particular case instance, a
new rule is formulated that de nes the contextual circumstances of the instance and is
added as a new leaf node. In essence, each added exception rule is a re nement of its
parent rule.</p>
      <p>Each node incorporates a set of case descriptors, called the ‘cornerstone case’,
which describe the actual case that was the catalyst for the creation of the rule. The
condition for the new rule is determined by comparing the descriptors of the current case
to those of the cornerstone case of the returned conclusion and identifying a sub-set of
differences. Not all differences will be relevant – it is only necessary to determine the
factor or factors that make it necessary to handle the current case in a different fashion
to the cornerstone case to de ne a new rule. The identi ed differences are expressed as
attribute-value pairs, using the normal conditional operators. The current case
descriptors become the cornerstone case for the newly formulated rule; its condition is formed
by the identi ed attribute-values and represents the context of the case instance that
caused the addition of the rule.</p>
      <p>The Selection Process. When a process model is created, it is stored as a template
of ‘placeholders’. Each placeholder corresponds to a particular chain of RDRs within
which are referenced a repertoire of worklets, one of which will be selected and
assigned to the placeholder dynamically. Initially, the RDR chain for each placeholder
will consist of a single node containing a default rule and a conclusion referencing the
one worklet de ned. Note that whenever the model is viewed by a stakeholder, each
placeholder in the template is lled with a reference to the conclusion of the default
rule (i.e. the default worklet) for that placeholder.</p>
      <p>Suppose that, after a while, a new business rule is formulated. In conventional
worko w systems, this would require a re-de nition of the model. Using the worklet
approach, it simply requires a new worklet to be added to the repertoire and a new rule
added as a re nement to the appropriate RDR, negating the need to explicitly model the
choices and repeatedly update the model (with each iteration increasingly camou aging
the original business logic).</p>
      <p>In all future case instances, the new worklet de ned would be chosen for that
placeholder if the condition de ned by choosing the attribute differences occur in that
instance’s case data. Over time, the RDR chain for the placeholder grows as re nements
are added to the rule base ( g. 1).</p>
      <p>Exception Handling. Worklets may also be de ned and used to provide exception
handling capabilities for events that occur during the execution of a case instance. When
such an event occurs, a corresponding global system event is triggered that passes an
appropriate message to all active worklets. Each worklet has a second, separate RDR
rule base for exceptions, which is interrogated when a message is received. If the default
condition in an exception RDR chain is an identi er for the message received, then the
worklet will handle that exception by invoking an appropriately selected exception
handling worklet (which may modify the current state of its parent worklet when activated
(e.g. suspend it), and again on completion, as required). If there is no RDR de ned for
that exception, it is simply ignored.</p>
      <p>Exceptions may be triggered by a combination of (a) system generated messages
(e.g. deadline reached, state change of another worklet, etc); (b) domain dependent data
(e.g. unmet thresholds, missing data etc.); and (c) external triggers (i.e. user
interactions). Exception handling is passed hierarchically through the execution tree to each
parent worklet in turn until all ‘interested’ worklets have handled the exception. This
method ensures that all exception handling tasks are de ned and performed locally and
in a distributed manner.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>W.M.P. van der Aalst</surname>
          </string-name>
          , Mathias Weske, and
          <article-title>Dolf Gru¨nbauer. Case handling: A new paradigm for business process support</article-title>
          .
          <source>Data &amp; Knowledge Engineering</source>
          ,
          <volume>53</volume>
          (
          <issue>2</issue>
          ):
          <fpage>129</fpage>
          -
          <lpage>162</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Gregor</given-names>
            <surname>Joeris</surname>
          </string-name>
          .
          <article-title>De ning e xible work o w execution behaviors</article-title>
          .
          <source>In Peter Dadam and Manfred Reichert</source>
          , editors,
          <source>Enterprise-wide and Cross-enterprise Workflow Management: Concepts</source>
          ,
          <source>Systems</source>
          , Applications, volume
          <volume>24</volume>
          <source>of CEUR Workshop Proceedings</source>
          , Paderborn, Germany,
          <year>October 1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Alex</given-names>
            <surname>Borgida</surname>
          </string-name>
          and
          <string-name>
            <given-names>Takahiro</given-names>
            <surname>Murata</surname>
          </string-name>
          .
          <article-title>Tolerating exceptions in work o ws: a uni ed framework for data and processes</article-title>
          .
          <source>In Proceedings of the International Joint Conference on Work Activities, Coordination and Collaboration (WACC'99)</source>
          , pages
          <fpage>59</fpage>
          -
          <lpage>68</lpage>
          , San Francisco, CA,
          <year>February 1999</year>
          . ACM Press.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Fabio</given-names>
            <surname>Casati</surname>
          </string-name>
          .
          <article-title>A discussion on approaches to handling exceptions in work o ws</article-title>
          .
          <source>In CSCW Workshop on Adaptive Workflow Systems</source>
          , Seattle, USA,
          <year>November 1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Jakob</surname>
            <given-names>E. Bardram.</given-names>
          </string-name>
          <article-title>I love the system - I just don't use it</article-title>
          !
          <source>In Proceedings of the 1997 International Conference on Supporting Group Work (GROUP'97)</source>
          , Phoenix, Arizona,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>W.M.P. van der Aalst and P.J.S.</given-names>
            <surname>Berens</surname>
          </string-name>
          .
          <article-title>Beyond work o w management: Product-driven case handling</article-title>
          . In S. Ellis,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rodden</surname>
          </string-name>
          , and I. Zigurs, editors,
          <source>International ACM SIGGROUP Conference on Supporting Group Work</source>
          , pages
          <fpage>42</fpage>
          -
          <lpage>51</lpage>
          , New York,
          <year>2001</year>
          . ACM Press.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Bonnie</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Nardi</surname>
          </string-name>
          . Activity Theory and
          <string-name>
            <surname>Human-Computer Interaction</surname>
          </string-name>
          , pages
          <fpage>7</fpage>
          -
          <lpage>16</lpage>
          . In Nardi [9],
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Engestrom</surname>
          </string-name>
          .
          <article-title>Learning by Expanding: An Activity-Theoretical Approach to Developmental Research</article-title>
          . Orienta-Konsultit, Helsinki,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Bonnie</surname>
            <given-names>A</given-names>
          </string-name>
          . Nardi, editor. Context and
          <article-title>Consciousness: Activity Theory and Human-Computer Interaction</article-title>
          . MIT Press, Cambridge, Massachusetts,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Michael</surname>
            <given-names>Adams</given-names>
          </string-name>
          , David Edmond, and
          <string-name>
            <surname>Arthur H.M. ter Hofstede</surname>
          </string-name>
          .
          <article-title>The application of activity theory to dynamic work o w adaptation issues</article-title>
          .
          <source>In Proceedings of the 2003 Pacific Asia Conference on Information Systems (PACIS</source>
          <year>2003</year>
          ), pages
          <fpage>1836</fpage>
          -
          <lpage>1852</lpage>
          , Adelaide, Australia,
          <year>July 2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Debbie</given-names>
            <surname>Richards</surname>
          </string-name>
          .
          <article-title>Combining cases and rules to provide contextualised knowledge based systems</article-title>
          .
          <source>In Modeling and Using Context</source>
          , Third International and Interdisciplinary Conference,
          <string-name>
            <surname>CONTEXT</surname>
          </string-name>
          <year>2001</year>
          , volume
          <volume>2116</volume>
          <source>of Lecture Notes in Artifical Intelligence</source>
          , pages
          <fpage>465</fpage>
          -
          <lpage>469</lpage>
          , Dundee,
          <string-name>
            <surname>UK</surname>
          </string-name>
          ,
          <year>July 2001</year>
          . Springer-Verlag, Berlin.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>P.</given-names>
            <surname>Compton</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Jansen</surname>
          </string-name>
          .
          <article-title>Knowledge in context: A strategy for expert system maintenance</article-title>
          . In J.Siekmann, editor,
          <source>Proceedings of the 2nd Australian Joint Artificial Intelligence Conference</source>
          , volume
          <volume>406</volume>
          <source>of Lecture Notes in Artificial Intelligence</source>
          , pages
          <fpage>292</fpage>
          -
          <lpage>306</lpage>
          , Adelaide, Australia,
          <year>November 1988</year>
          . Springer-Verlag.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>Tobias</given-names>
            <surname>Scheffer</surname>
          </string-name>
          .
          <article-title>Algebraic foundation and improved methods of induction of ripple down rules</article-title>
          .
          <source>In Procceedings of the Pacific Rim Workshop on Knowledge Acquisition</source>
          , Sydney, Australia,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>B.</given-names>
            <surname>Drake</surname>
          </string-name>
          and
          <string-name>
            <surname>G. Beydoun.</surname>
          </string-name>
          <article-title>Predicate logic-based incremental knowledge acquisition</article-title>
          . In P. Compton,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hoffmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Motoda</surname>
          </string-name>
          , and T. Yamaguchi, editors,
          <source>Proceedings of the sixth Pacific International Knowledge Acquisition Workshop</source>
          , pages
          <fpage>71</fpage>
          -
          <lpage>88</lpage>
          , Sydney,
          <year>December 2000</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>