<!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>Agora - Speech-Act-Based Adaptive Case Management</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Johannes Tenschert</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Richard Lenz</string-name>
          <email>richard.lenzg@fau.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computer Science 6, University of Erlangen-Nuremberg</institution>
        </aff>
      </contrib-group>
      <fpage>61</fpage>
      <lpage>66</lpage>
      <abstract>
        <p>Today's work is increasingly characterized by unpredictable collaborative processes called knowledge work. Some types of knowledge work are supported by case management tools which typically provide regulated access to case-related information. Knowledge workers are well aware of the pragmatic dimension of their communicative acts, but the systems they are using currently are not. This demo paper presents a prototype of a speech-act-based adaptive case management tool we call Agora. In Agora, we focus on interactions of a case and enable exible documentation of ad-hoc interactions and activities as well as support for (semi-)structured processes. Interactions are linked to appropriate artifacts of the case. The approach enables useful inferences by the user and automatically by a system from all documented interactions and caserelated data. For example, it can help in unveiling assertions and commitments, nding unful lled promises, and automatic reactions to certain interactions. Thereby, the approach facilitates integration of structured, semi-structured and ad-hoc processes.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Background and Signi cance to BPM</title>
      <p>
        Business process management is aimed at supporting cooperative work and
shows its advantages especially in optimizing structured processes. However, in
recent years the share of knowledge work has increased rapidly. Knowledge work
involves the creation, distribution, or application of knowledge [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In contrast
to a manual worker's clearly de ned activities, knowledge work is
characterized by abstractly de ned tasks and the knowledge worker's responsibility for
his own contribution in terms of quantity and quality [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In the US, around
50% of today's work is knowledge work [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Currently, interactions in knowledge
work are supported by providing groupware and collaboration tools. Knowledge
workers may also use an adaptive case management system (ACMS), tailored
information systems, and other (process) support systems. Therefore, case data is
scattered across many systems, and the overlapping structured, semi-structured
Copyright c 2016 for this paper by its authors. Copying permitted for private and
academic purposes.
and ad-hoc processes involved in actual knowledge work further impede keeping
track of related data, activities and interactions.
      </p>
      <p>
        Our speech-act-based approach focuses on interactions of a case, and enables
exible documentation of ad-hoc interactions and activities, as well as support
for (semi-)structured processes. It relates interactions to artifacts and makes the
pragmatic intention of interactions explicit to facilitate useful inferences by the
user or automatically by the system. Examples for these inferences are unveiling
all assertions and commitments, nding unful lled promises, checking whether
important stakeholders have been informed, or automatically reacting to certain
interactions and situations, e. g. informing legal guardians about certain
interactions. Moreover, the model enables compliance monitoring on interactions [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
No process schema is necessary for a case, but if a more detailed schema can be
given, the possibilities for support and inference increase. This demonstration
introduces Agora, the prototype implementing our speech-act-based approach.
      </p>
      <p>
        We use Speech Act Theory to classify and represent interactions. Speech Act
Theory was rst introduced by Austin [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and further elaborated by Searle [
        <xref ref-type="bibr" rid="ref4 ref5">4,
5</xref>
        ]. Saying something is an action with a particular intention of the speaker.
Not only utterances are speech acts, but rather all activities with the intention
to send a message. Some types of interactions adhere to typical patterns, e. g.
questions are usually followed by an answer. The speaker is well aware of this
context and of his pragmatic intention, but the systems supporting him currently
are not. A speech act consists of its illocutionary force F , i. e. the intention of the
utterance, and its propositional content P . Searle's F (P ) framework allows that
propositional content may also be a speech act, i. e. speech acts can be nested
(\Alice informed me that bob promised...").
      </p>
      <p>
        One example use case of Agora is writing a conference paper. Finding
appropriate results for publication is not a structured process and varies from
case to case. However, there are some similarities between cases: Usually,
several authors are involved, case-speci c agreements occur, and these agreements
contain speech acts. By documenting and classifying these interactions, useful
inferences and relations can be displayed. One could start by giving the project
some working title and collecting artifacts (sketches, emails). The actual writing
of the paper will be predominantly ad-hoc, but there are many interactions:
questions, promises (\I'll write Section 2."), complaints (\I don't like the abstract!"),
requests for meetings, and so forth. Some tasks could be automatized as a micro
process [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], for example creating a git repository. This process may contain the
creation of the repository, storing its location in the case's master data, and
emails to stakeholders of the case to inform them about the repository. In most
cases, the process of submitting a paper to a conference only di ers slightly. A
micro process might create some tasks to nd deadlines and to document them,
informing all authors, submitting the abstract, and submitting the paper. If it
is accepted, more structured tasks are triggered: \Hooray" to all authors,
submitting a camera ready version, registering at the conference, and booking the
trip. At the conference, many contacts and interactions can be documented in
Agora. After the trip, a structured process to settle travel expenses is triggered.
      </p>
      <p>Other examples that require handling cases in a exible way and involve many
interactions are treating and informing patients, handling legal cases, and
supervising theses. Agora integrates well-known and well-established BPM techniques
for structured processes with speech-act-based support for ad-hoc cooperation.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Model and Implementation</title>
      <p>This section introduces the representation of cases in our approach, outlines the
key features of the prototype Agora, and brie y describes its implementation.
2.1</p>
      <sec id="sec-2-1">
        <title>Cases</title>
        <p>
          Agora manages a set of cases. Each case consists of interactions, contacts, tasks,
documents, notes, related process instances, and key-value-based master data.
Interactions are documented speech acts with a speci c creator of the
documentation. Speech acts contain a sender, one or more recipients, an illocutionary
force, and propositional content in the form of text, speech acts or production
acts for artifacts, and logically connected text and acts adhering to Searle's F(P)
framework. Speech acts can be linked to artifacts of a case, e. g. documents and
tasks. Figure 1 shows how interactions of a case can be displayed. Here, users
can expand and collapse propositional content of all or individual speech acts
for an overview of all interactions of a case as well as for detailed information.
Related process instances currently are restricted to micro processes [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. In the
near future, they will also contain structured processes in an external BPMS,
e. g. to settle travel expenses or grade and properly archive a thesis.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Features</title>
        <p>Agora provides exible key-value annotations for cases and artifacts. These
annotations can be organized in tabs and arranged freely according to the knowledge
worker's preference. In order to make certain interactions involved in the
generation of documents or completing tasks visible to the user and an inference engine,
interactions are either automatically or manually linked to appropriate artifacts.
Since Agora focuses on interactions, contacts involved in a case should be easy
to maintain. Often, stakeholders are shared across many cases, e. g. attorneys
and judges. Therefore, contacts are created once and can then be referenced.
Contacts can be annotated with one or many roles in a case. The roles are not
intended to be used like the traditional roles of BPM systems. They are intended
to help managing the stakeholders involved, and can be used e. g. for simplifying
document generation or preselecting contacts in a micro process.</p>
        <p>
          Document templates may use certain artifacts (e. g. contacts) and master
data (e. g. le reference, working title) of a case to generate word documents or
emails. For example, while dealing with a thesis and if the student is a
documented stakeholder of the case, the registration at the exam o ce can be
generated. Also, travel expense settlement forms for attending a conference could be
pre-populated. Micro processes [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] are tightly integrated into the prototype to
automate routine fragments. They allow parallelism, missing attributes of
interactions and actions that are clari ed during execution, and exible user input
for several tokens of a process instance at the same time. Inferences currently
are hard-coded into the system, but already allow for example to nd unful lled
promises and to display all assertions. The system is prepared to provide
automatic reactions for interactions according to the type of interaction and the case's
master data, e. g. to inform legal guardians about activities. The Agora client
is a single-page web application. It synchronizes certain artifacts (e. g. contacts,
cases, current view) continuously to facilitate collaboration.
2.3
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Architecture and implementation</title>
        <p>
          The architecture of our approach is described in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. On the server side, Agora is
implemented in Java servlets. The servlets provide REST interfaces that return
JSON. Clients access these REST interfaces with a single-page web application
based on HTML5, AngularJS, and Bootstrap. Case data and processes are stored
in a relational database and accessed with Hibernate.
        </p>
        <p>Moreover, a JSON library has been developed to easily map objects to
different pro les, i. e. to not reimplement the same classes for speci c views
(condentiality, volume). An additional layer for templates of word documents has
been created based on docx4j. This document generation layer handles merge
elds, parameters, and dynamically generated formatted paragraphs and runs.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Maturity and Future Work</title>
      <p>The Agora prototype is intended to demonstrate how interaction artifacts and
the pragmatic intention of interactions can be integrated into an adaptive case
management system. It has not yet been evaluated with end users. Agora
supports interactions that are part of structured processes, emerge in semi-structured
processes, or are documented in an ad-hoc fashion. The system provides a
exible data model that allows knowledge workers to create arbitrary annotations for
cases and artifacts, and to relate interactions to artifacts. A screencast is
available at http://www6.cs.fau.de/people/johannes-tenschert/bpm-2016.</p>
      <p>
        Future versions of Agora will improve inferences, usability, and traceability
of interactions. Currently inferences are hard-coded. There is active
development to integrate business rules according to [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ] for integration of structured,
semi-structured and ad-hoc processes as well as for compliance monitoring. It is
intended to allow user-de nable domain-speci c business rules. The data model
of artifacts in Agora is exible, and the model of artifacts typically managed
with a smartphone and groupware (e. g. contacts, tasks, and notes) is very
similar to the appropriate web standards vCard and iCalender in order to facilitate
synchronization in the future. Therefore, knowledge workers can choose their
preferred gadgets and tools to work on a case. Finally, the model and
implementation will be improved to further support traceability of interactions. Currently,
a case is one conversation, and the interactions forming logical connections, e. g.
accepting a speci c proposal, are not explicitly linked together. Ideally,
nding the reason of performing certain (speech) acts should not require to read
the whole conversation, and typical patterns of interaction could be supported
without extensive manual documentation.
      </p>
      <p>The vision for a nal prototype is that even though case data may still be
distributed across certain devices and BPMSs, the ACMS would be a system of
record that includes and references all (interaction) artifacts of a case. It should
suggest appropriate activities, integrate with the tools knowledge workers
actually use, reduce the time to hunt for information and creating routine artifacts,
and provide useful inferences for dealing with the case at hand.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Austin</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          :
          <article-title>How to do things with words</article-title>
          . Oxford university press (
          <year>1975</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Davenport</surname>
          </string-name>
          , T.H.:
          <article-title>Thinking for a Living: How to Get Better Performances and Results from Knowledge Workers, chap. What's a Knowledge Worker, Anyway?</article-title>
          , pp.
          <volume>1</volume>
          {
          <fpage>24</fpage>
          . Harvard Business Press (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Drucker</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          :
          <article-title>Knowledge-worker productivity: The biggest challenge</article-title>
          .
          <source>California Management Review</source>
          <volume>41</volume>
          (
          <issue>2</issue>
          ),
          <volume>79</volume>
          {
          <fpage>94</fpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Searle</surname>
            ,
            <given-names>J.R.</given-names>
          </string-name>
          :
          <article-title>Speech acts: An essay in the philosophy of language</article-title>
          . Cambridge university press (
          <year>1969</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Searle</surname>
            ,
            <given-names>J.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanderveken</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Foundations of illocutionary logic</article-title>
          . Cambridge University Press (
          <year>1985</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Swenson</surname>
          </string-name>
          , K.D.:
          <article-title>Robots don't innovate - innovation vs automation in BPM</article-title>
          (May
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Tenschert</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenz</surname>
          </string-name>
          , R.:
          <article-title>Supporting knowledge work by speech-act based templates for micro processes</article-title>
          .
          <source>In: AdaptiveCM</source>
          <year>2015</year>
          {4th International Workshop on Adaptive Case Management and
          <article-title>other non-work ow approaches to BPM (</article-title>
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Tenschert</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenz</surname>
          </string-name>
          , R.:
          <article-title>Towards speech-act-based adaptive case management</article-title>
          .
          <source>In: AdaptiveCM</source>
          <year>2016</year>
          {5th International Workshop on Adaptive Case Management and
          <article-title>other non-work ow approaches to BPM (</article-title>
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Tenschert</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Michelson</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenz</surname>
          </string-name>
          , R.:
          <article-title>Towards speech-act-based compliance</article-title>
          .
          <source>In: 2016 IEEE 18th Conference on Business Informatics</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>