<!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>A Tool to Monitor Consistent Decision-Making in Business Process Execution</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Carl Corea</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrick Delfmann</string-name>
          <email>delfmanng@uni-koblenz.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute for Information Systems Research, University of Koblenz-Landau</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Work ow Management Systems such as Camunda allow companies to execute business processes. Here, standards such as the Decision Model and Notation (DMN) can be used to model company decision logic, governing how processes are executed. A potential problem here are inconsistencies in company decision logic, as this can lead to erroneous decision-making. However, it is essential to companies to warrant e cient and compliant process execution. In this report, we therefore present a tool which allows to monitor consistent decision-making during business process execution. Our tool detects inconsistencies in automated decisions and provides companies with an inconsistency analysis using quantitative measures.</p>
      </abstract>
      <kwd-group>
        <kwd>Decision-Making</kwd>
        <kwd>Inconsistency Measurement</kwd>
        <kwd>Camunda</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Work ow Management Systems (WMS) have received recent attention for
supporting companies in the integration of process- and decision models [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Here,
business processes and decision logic can be modeled in a shared technical
environment, allowing to execute business processes (semi-)automatically, governed
by the decision logic [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. To ensure a correct process execution, a correct decision
logic is thus essential. A potential problem here is the problem of inconsistency,
i.e. contradictory information within the decision logic. Consider the example
in Figure 1. While there are no problems locally, a global perspective yields an
inconsistency in decision making for the shown process. Recent works in BPM
research suggest that such inconsistencies can occur in decision models, due to
the collaborative and incremental development of these artifacts [
        <xref ref-type="bibr" rid="ref1 ref2 ref4">1, 2, 4</xref>
        ].
      </p>
      <p>
        In result, companies need to be supported in monitoring consistent decision
making during process execution, i.e. in a global sense considering all decisions
and their interrelations [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. In this work, we present a tool that allows to
detect and analyze inconsistencies of decisions during process execution. In case of
inconsistencies, process execution is stopped to warrant that no compliance
violations are commited. Furthermore, companies are presented with a careful
analysis of inconsistencies so that problems can be resolved in the context of business
process improvement. For this analysis, we apply quantitative measures from the
scienti c eld of inconsistency measurement [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. To the best of our knowledge,
peichertes Diagramm
2
      </p>
      <p>C.Corea, P.Delfmann</p>
      <p>Task 1</p>
      <p>
        Task 2
our tool is the rst tool to investigate a veri cation of global consistency of all
decisions made during process executions. Also, our tool provides quantitative
insights, which can be used as a basis for an informed re-modelling strategy [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
The following section introduces the tool and provides a usage example.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Tool Description</title>
      <p>Our tool was developed as a plugin for the browser-based WMS Camunda1. A
screencast of the tool can be found at https://youtu.be/jus4IkLMOIg.
2.1</p>
      <sec id="sec-2-1">
        <title>Overview</title>
        <p>Camunda allows to execute process models as so-called process instances. During
execution, decisions can be automatedly computed by a rule engine. Our plugin
stores every decision made during process execution in a so-called decision
history. To clarify, this history is incrementally updated during a process execution,
storing all respective DMN rules used for decision-making. On every update to
this decision history, the tool analyzes the consistency of all decisions made for
the current process instance.</p>
        <p>
          The analysis is based on results from the eld of Inconsistency Measurement
[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. A central object of study here are so-called culpability measures, which allow
to assign a numerical value to rules, with the intuition that a higher value re ects
a higher degree of inconsistency [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. We implemented two widely acknowleged
measures, namely the MIV# and the MIVc measure [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. For applicability of
these measures, we transform the decision logic into a logic-formalism, namely
the Formal Contract Language (FCL) [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. To this aim, we extended the SPINdle
library2 with a functionality to transform DMN rules into an FCL representation.
Also, we extended this library with a solver to detect and analyze inconsistencies.
1 https://camunda.com/
2 http://spindle.data61.csiro.au/spindle/
        </p>
        <p>To summarize, the implementation of inconsistency measurement in our tool
allows to analyze the global consistency of all decisions made during process
execution, and to assess the degree of inconsistency for individual rules in order
to provide quantitative insights for companies.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Usage Example</title>
        <p>In the following, we apply our tool for the example in Figure 1.
3
1
2
3
consequently directly edit DMN tables in Camunda. A refresh button allows to
upload the changes (2), which automatically deploys the DMN table (3).</p>
        <p>Camunda also o ers a dashboard for management, entitled the Camunda
Cockpit. Here, the problems detected by our plugin are seamlessly integrated
into the Cockpit by triggering so-called incidents. This allows to provide
business intelligence for management in the usual Cockpit environment, allowing to
quickly be alerted of and view inconsistencies in decision-making which occured
during process execution.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusion and Outlook</title>
      <p>
        The tool presented in this report allows to monitor consistent decision-making
during process execution. Detecting inconsistencies supports compliant process
execution. Also, inconsistency analysis based on inconsistency measurement
provides quantitative insights, which can be used as a basis for an informed
resolution and re-modelling strategy [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Our tool consequently fosters sustainable
business rules management.
      </p>
      <p>Our tool is seamlessly integrated into Camunda. In future work, we aim to
present case-studies of applying our tool in industrial settings.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Batoulis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Soundness of decision-aware business processes</article-title>
          .
          <source>In: International Conference on Business Process Management</source>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laurson</surname>
            ,
            <given-names>U</given-names>
          </string-name>
          .,
          <string-name>
            <surname>Maggi</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montali</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teinemaa</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Semantics and analysis of dmn decision tables</article-title>
          .
          <source>In: International Conference on Business Process Management</source>
          . Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maggi</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montali</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Semantic dmn: Formalizing decision models with domain knowledge</article-title>
          .
          <source>In: International Joint Conference on Rules and Reasoning</source>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Di</given-names>
            <surname>Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.M.</given-names>
            ,
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Mendling</surname>
          </string-name>
          , J.:
          <article-title>Resolving inconsistencies and redundancies in declarative process models</article-title>
          .
          <source>Information Systems</source>
          <volume>64</volume>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Governatori</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maher</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Annotated defeasible logic</article-title>
          .
          <source>Theory and Practice of Logic Programming</source>
          <volume>17</volume>
          (
          <issue>5-6</issue>
          ) (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Grant</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
          </string-name>
          , M.V. (eds.): Measuring Inconsistency in Information. College
          <string-name>
            <surname>Publications</surname>
          </string-name>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Hunter</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konieczny</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Measuring inconsistency through minimal inconsistent sets</article-title>
          .
          <source>KR 8</source>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Sadiq</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Governatori</surname>
          </string-name>
          , G.:
          <article-title>Managing regulatory compliance in business processes</article-title>
          .
          <source>In: Handbook on Business Process Management 2</source>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Thimm</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Inconsistency measures for probabilistic logics</article-title>
          .
          <source>Arti cial Intelligence</source>
          <volume>197</volume>
          ,
          <issue>1</issue>
          {
          <fpage>24</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Business process management architectures</article-title>
          .
          <source>In: Business Process Management</source>
          , pp.
          <volume>333</volume>
          {
          <fpage>371</fpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>