<!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>Visual Decision Modeling in IoT-Aware Processes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yusuf Kirikkayis</string-name>
          <email>yusuf.kirikkayis@uni-ulm.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Florian Gallik</string-name>
          <email>florian-1.gallik@uni-ulm.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Manfred Reichert</string-name>
          <email>manfred.reichert@uni-ulm.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Databases and Information Systems, Ulm University</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>63</fpage>
      <lpage>67</lpage>
      <abstract>
        <p>The enactment of real-world-aware business processes involves multiple interconnected devices. While the latter form the basis of the Internet of Things (IoT) and enable the exchange and collection of physical data via the Internet, Business Process Management (BPM) enables analyzing, modeling, implementing, executing, and monitoring business processes. In IoT-aware processes decision making may depend on the data provided by multiple IoT devices, which results in decision rules of complex structure. In this paper, we present two approaches for the visual modeling of decisions in IoT-aware processes. The first approach allows for the visual representation of complex decision rules by extending Business Process Model and Notation (BPMN) 2.0. The second approach separates decision logic from process logic using a drag&amp;drop modeler. With both these approaches, IoT involvement in decision making becomes apparent and complex decisions can be represented in an intuitive and simple manner.</p>
      </abstract>
      <kwd-group>
        <kwd>BPM</kwd>
        <kwd>Decision making</kwd>
        <kwd>IoT-Aware Process</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        The Internet of Things (IoT) is a network of physical objects that enable the
collection and exchange of data via a network connection [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. On one hand IoT
devices allow for the acquisition and collection of data by sensors. On the other they
support the response to an event by actuators. In particular, IoT enables bridging
the gap between physical and digital world [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In turn, BPM enables
optimizing, modeling, executing, and monitoring business processes [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. By integrating
BPM with IoT capabilities, process modeling, execution and monitoring can
be enhanced. Furthermore, this integration enables the confirmation of manual
steps through the use of IoT devices such as sensors and cameras [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In addition,
low-level data generated by individual IoT devices (e.g., temperature, humidity
or switch state) may be aggregated and combined, in high-level information
that can be used for decision making. Moreover, high-level information enables
BPM to understand the dynamic context of the physical world during process
execution, which makes IoT-aware processes context-aware [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        In contemporary approaches combining BPM and IoT, devices are added to
process models as resources. Consequently, IoT data is used without linking it
to other contextual process data. The potential of gaining additional insights is
not exploited [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. As another challenge of using IoT devices for decision making,
IoT-aware processes become decision-intensive [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. In turn, this leads to an
increased complexity due to a high number of decisions as opposed to
IoTunaware processes. In contemporary approaches, the involvement of IoT devices
in decision making is not explicitly addressed. In addition, complex
decisionmaking rules can only be represented in tables or gateways, which afects model
readability and comprehensibility.
      </p>
      <p>In this paper, we present two approaches for visually representing decisions
in IoT-aware processes. One of these approaches is based on BPMN, whereas
the other separates decision from process logic. The approaches aim to explicitly
display the IoT devices involved. Furthermore, complex decision rules become
more intuitive due to the chosen visualization. The remainder of this paper is
organized as follows: Section 2 discusses related work. Section 3 presents the two
solution approaches. Finally, Section 4 provides a summary and outlook.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        There exists a variety of approaches [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ][
        <xref ref-type="bibr" rid="ref4">4</xref>
        ][
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] that embed IoT into BPMN-based
process models in terms of IoT tasks, physical entities, and resources. However,
none of these approaches aggregates IoT data into higher-level information, which
then can serve as input for decision making.
      </p>
      <p>
        The Decision Model and Notation (DMN) standard provides a solution to
separate decision from process logic [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. In [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], the combination of BPMN and
DMN is considered for IoT-aware processes. Note that the involvement of IoT
devices actually neither becomes apparent in BPMN nor in DMN.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], an approach for converting DMN models into DMN decision tables is
presented. In particular, complex decision tables can be created automatically.
Still, the problem remains that complex decision tables are dificult to read and
comprehend. Furthermore, involved IoT devices are not explicitly represented or
highlighted in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ].
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>IoT-aware visual decision modeling</title>
      <p>This section presents the approaches for visual decision modeling in IoT-aware
processes. Based on literature review and expert interviews we identified the
challenge to model complex IoT decisions. To the lack of space we can not
provide more details. First of all, a BPMN-based decision modeling approach is
introduced, followed by an approach that separates decision modeling from the
process logic using a drag&amp;drop modeler.
3.1</p>
      <sec id="sec-3-1">
        <title>Approach 1: Decision modeling in BPMN</title>
        <p>To enable decision modeling directly in BPMN, the following extensions are
introduced in BPMN (Figure 1); IoT representative (1), IoT decision container
(2,3&amp;4), and IoT decision table (5). Each IoT decision container contains an
IoT decision table, which can be filled using the properties panel (7). The IoT
representatives may be inserted into the IoT decision container via drag&amp;drop.
An IoT representative visualizes IoT sensors such as limit switches, temperature
sensors, pressure sensors or light sensors.</p>
        <p>7
3</p>
        <p>IoT
decision container
1
8
4
2</p>
        <p>Figure 1 shows the modeling of the decision as well as its logic. First, the
light scanner, start light barrier, and pressure sensor are queried (low-level
information). The query results are then used for defining conditions in the
decision table based on boolean algebra (high-level information). In turn, the
results of Robot 1 (3) and Robot 2 (4) are used to define conditions for the root
decision container Robots (2). The evaluation of this top-level decision, is then
considered for controlling the flow of the corresponding process (8). When clicking
on the IoT decision icon of the corresponding task (7), the root IoT decision
container may be expanded/collapsed. Each IoT decision container may contain
n IoT decision containers and likewise n IoT representatives, which results in a
tree data structure. The latter is read bottom-up (i.e., the results of the nodes
are passed from the bottom to the top) until the final decision is made by the
root IoT decision container.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Approach 2: Separate Decision modeling</title>
        <p>To separate the decision from the process logic, a drag&amp;drop modeler is used.
This allows the insertion and movement of elements on a modeling area (Figure 2).
For modeling the decision logic the following elements are available; IoT decision
container (1), IoT representative and attached comparison (2), logical gates (4&amp;5)
and result module (6).</p>
        <p>First, the IoT representative queries the physical sensor. Then, the attached
condition is checked. Depending on the result, the IoT representative returns
a corresponding boolean value. Each IoT decision container may contain any
number of IoT representatives, comparison modules, and decision containers (1).
In turn, IoT representatives are connected to logical gates, which process multiple
boolean input signals into a boolean output signal based on logical operators,
such as conjunction (AND gate 4), disjunction (OR gate 5), or negation (3).
The output signals of the logical blocks may either lead to a final result or be
nested with other logical blocks. The final result may be of any data type and be
represented by a result module (6). The transfer of the final decision from the
drag&amp;drop modeler to the BPMN model is done via an IoT decision task.
We presented two approaches for visually modeling decisions in IoT-aware
processes. The first one enables explicit decision modeling in BPMN using an IoT
decision container with a corresponding IoT decision table. The IoT representatives
are dragged and dropped into the IoT decision container. These representatives
query the physical sensors and store the retrieved values in the decision table.
As each IoT decision container has its own decision table, complexity is reduced.
Each IoT decision container passes its final decision upwards until reaching the
root IoT decision container. The latter makes a final decision, which then flows
into the process and can be used in BPMN. As opposed to Approach 1, Approach
2 separates decision modeling from process modeling.</p>
        <p>In future work, we will implement the two approaches and evaluate their
usability and benefits in a case study. Moreover, we will develop an engine, for
processing decision rules in IoT-aware processes. Finally, we will model IoT-aware
processes from diferent domains to further verify the approaches.</p>
        <p>COPCDOPsDesevvereenreessness</p>
        <p>1
AND &amp;</p>
        <p>= "none"
4
AND &amp;</p>
        <p>5
OR ≥ 1
= "mild"</p>
        <p>6
= "severe"</p>
        <p>IoT
decision
container</p>
        <sec id="sec-3-2-1">
          <title>Logical gate</title>
        </sec>
        <sec id="sec-3-2-2">
          <title>Result module</title>
          <p>Acknowledgments This work is part of the ZAFH Intralogistik, funded by the
European Regional Development Fund and the Ministry of Science, Research
and Arts of Baden-Wu¨rttemberg, Germany (F.No. 32-7545.24-17/12/1)</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Janiesch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>The Internet of Things Meets Business Process Management: A Manifesto</article-title>
          .
          <source>In: IEEE Systems, Man, and Cybernetics Magazine</source>
          <volume>6</volume>
          (
          <issue>4</issue>
          ), pp.
          <fpage>34</fpage>
          -
          <lpage>44</lpage>
          . (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Suri</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gaaloul</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cuccuru</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gerard</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Semantic Framework for Internet of Things-Aware Business Process Development</article-title>
          .
          <source>In: 26th International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises</source>
          , (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bazhenova</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zerbato</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oliboni</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wekse</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>From BPMN process models to DMN decision models</article-title>
          .
          <source>In: Information Systems</source>
          <volume>83</volume>
          (
          <issue>12</issue>
          ), (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Cheng et al.:
          <article-title>Modeling and Deploying IoT-Aware Business Process Applications in Sensor Networks ,(</article-title>
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Combi</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oliboni</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zardiniy</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zerbato</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Seamless Design of DecisionIntensive Care Pathways</article-title>
          . In: International Conference on Healthcare Informatics, (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Song</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanthienen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cui</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Context-Aware BPM Using IoT-Integrated Context</surname>
          </string-name>
          Ontologies and
          <article-title>IoT-Enhanced Decision Models</article-title>
          .
          <source>In: IEEE Conference on Commerce and Enterprise Computing</source>
          , (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. Meyer, S.,
          <string-name>
            <surname>Ruppe</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hilty</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>The Things of the Internet of Things in BPMN</article-title>
          . In: Conference in Advanced Information Systems Engineering Workshops, (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Hasi´c, F.,
          <string-name>
            <surname>De Smedt</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanthienen</surname>
          </string-name>
          , J.:
          <article-title>Augmenting Processes with Decision Intelligence: Principles for Integrated Modelling</article-title>
          . In:
          <article-title>Decision Support Systems, (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>La</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Reijers</surname>
          </string-name>
          , H.:
          <article-title>Fundamentals of Business Process Management 2nd edn</article-title>
          . Springer-Verlag GmbH, Germany (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Hasi´c, F.,
          <string-name>
            <surname>De Smedt</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanthienen</surname>
          </string-name>
          , J.:
          <article-title>Developing a Modelling and Mining Framework for Integrated Processes and Decisions</article-title>
          . In:
          <article-title>On the Move to Meaningful Internet Systems, (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Gardaˇsevi´c, G., Veleti´c,
          <string-name>
            <surname>M.</surname>
          </string-name>
          , Maleti´c, N. et al.:
          <article-title>The IoT Architectural Framework, Design Issues and Application Domains</article-title>
          .
          <source>In: Wireless Pers Commun</source>
          <volume>92</volume>
          ,
          <fpage>127</fpage>
          -
          <lpage>148</lpage>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Object Management</surname>
          </string-name>
          <article-title>Group (OMG): Decision Model and Notation 1.3</article-title>
          . (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Koschmider</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mannhardt</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heuser</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>On the Contextualization of EventActivity Mapping</article-title>
          . In: Business Process Management Workshops, (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. Hasi´c,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Snoeck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Serral</surname>
          </string-name>
          , E.:
          <article-title>Comparing BPMN to BPMN + DMN for IoT process modelling: a case-based inquiry</article-title>
          .
          <source>In: 35th ACM/SIGAPP Symposium on Applied Computing</source>
          , (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. Hasi´c,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Asensio</surname>
          </string-name>
          , E.:
          <article-title>Executing IoT Processes in BPMN 2.0: Current Support and Remaining Challenges</article-title>
          .
          <source>In: 13th International Conference on Research Challenges in Information Science (RCIS)</source>
          , (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Etinger</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Simi´c, D., Buljubaˇsi´c L.:
          <article-title>Automated decision-making with DMN: from decision trees to decision tables</article-title>
          .
          <source>In: 42nd International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO)</source>
          , (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>