<!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>3DCR: A Tool for Immersive Process Mining</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Juanita Caballero-Villalobos</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Simon James Jensen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hugo A. López</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          ,
          <addr-line>ShaderLab, HLSL, Unity Engine 2022.3.13f1 Microsoft Windows</addr-line>
          ,
          <institution>Linux &amp; Mac https://bit.ly/demo3DCRBeta https://bit.ly/3DCRdocs https://bit.ly/sourcecode3DCRBeta https://bit.ly/3DCRvideos</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>3DCR Beta 1.0 MIT License C</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Technical University of Denmark</institution>
          ,
          <addr-line>DTU Compute</addr-line>
          ,
          <country country="DK">Denmark</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>3DCR is a tool to enhance the comprehension and engagement of declarative process models via 3D gaming environments. Integrating with an industrial declarative process modeling language (DCR graphs), our tool enables a tailored and adaptable environment where novel representations of declarative process elements (e.g., events and causal relations) can be explored, modified, and enriched with domain-specific representations. 3DCR helps in the elicitation of process behaviors, the discovery of processes from user interactions, and the simulation/upskilling of stakeholders in new process variants. Initial usability experiments indicate positive results regarding usefulness, engagement, and learnability compared to 2D process model representations. In this paper, we describe the architecture, functionality, and maturity of 3DCR.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Process Mining</kwd>
        <kwd>Declarative Process Models</kwd>
        <kwd>Virtual Reality (VR)</kwd>
        <kwd>Human-Centered BPM</kwd>
        <kwd>DCR graphs</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Value</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>
        Process mining has traditionally relied on 2D representations to visualize and analyze
process models, with examples such as Directly Follows Graphs, Petri Nets, or BPMN
models. While 2D representations are efective in many scenarios, their adaptation
to declarative settings, characterized by causal relations, may not be straightforward.
Indeed, classic graph-theoretic representations may be semantically perverse, meaning
that the notation conveys a message diferent than the semantic model of the declarative
process language [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1, 2, 3</xref>
        ]. Moreover, the complexity of the relations, dynamic constraints
handling, and event dependencies can become dificult to analyze with the current tools
[
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. These challenges underscore the need for more advanced visualization techniques
that might enhance user comprehension and engagement.
      </p>
      <p>
        Existing technologies have provided interactive representations of process models
using Virtual reality (VR) and augmented reality (AR) environments to make complex
data more accessible [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. However, these technologies face cost-related,
technicalrelated, user-related, and data-related challenges, highlighting the lack of domain-specific
customizations as a crucial factor for enhancing the adoption and benefits of AR and VR
in process support [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Therefore, a balanced approach that leverages the strengths of
interactive technologies while addressing their limitations is needed.
      </p>
      <p>We presented 3DCR, a gaming-based tool that ofers a more intuitive and engaging
way to represent and execute declarative process models based on domain-specific
representations. The virtual environment incorporates visual and sound aids and interactive
elements, making it easier for users to understand complex process dynamics. The tool
contributes to two use cases in process mining: elicitation and discovery of process
variants using unrestricted process models and simulations of process models.</p>
      <p>Digital traces of the simulations (logs) can be analyzed and extracted in real-time
analysis with SQL in Unity Analytics Dashboard and exported as CSV files for process
discovery and conformance checking. Furthermore, the 3DCR environment could be
adapted to trace simulation and digital twin representation by adding more variables
(e.g., time, data, locations, novel rules) and Computer-Aided Design (CAD) models to
emulate the process environments and impact variables more accurately. To sum up,
the tool ofers an opportunity to strengthen the portfolio of applicable process mining
techniques by integrating VR environments.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Architecture</title>
      <p>
        3DCR tool enhances user engagement and comprehension of declarative process models
(e.g., Dynamic Condition Response Graphs [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]) through 3D visualizations (e.g., Unity
Games). The architecture of the tool (Fig.1) was designed around an extended
ModelView-Controller (MVC) pattern, integrating both a process engine and a 3D engine to
facilitate immersive process simulation.
      </p>
      <p>The business process model data is processed by the Process Engine:, which manages
the execution and state of the declarative process model, ensuring that the process logic
is correctly followed and updated based on user interactions and process rules.</p>
      <p>The processed data feeds the Application Controller, which initializes the environment
and handles synchronization between the game view and the process model. as a central
hub that coordinates the interactions between the user, the process model, and the 3D
representations (activities, visual efects, camera views) that are rendered by the 3D
engine. Moreover, the 3D Engine also updates the 3D views based on user interactions
and the current state of the process model. In addition, the Activity Engine receives the
same data to render activities in the 3D view, selecting domain-specific representations
according to the available prefabs. Furthermore, it integrates a standard (canonical) view
of activities with their markings, adapting the visual representation of activities based on
their state (e.g., included, excluded, pending). Furthermore, the 3D View comprises both
outputs (3D Engine and Activity Engine), presenting the game’s user interface, including
activities, visual efects, and camera views. Finally, user interactions are automatically
collected and can be analyzed directly with SQL features of Unity Cloud or exported in
CSV format for further analysis with process mining tools.
3.</p>
    </sec>
    <sec id="sec-4">
      <title>Functionality</title>
      <p>
        The setup process starts with the model of the process in the Dynamic Condition Response
Graphs (DCR) Simulator [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]; for our example, we chose the sickness registration process
(Fig. 2). Then we export its logic in XML format and upload them in 3DCR Game Data
Folder to update the initial activities representation (cell maps contents) (Fig.2 ) and
the process model according to the defined rules, data, and roles [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Users can modify
the 3D Engine and Activity Engine if they want additional customization.
      </p>
      <p>Through 3D gaming environments for business process model representations and
executions, users can explore the DCR activities rendered and interpret straightforwardly
the relationships guided by the visual aids included in the tool visual efects aid (Fig.3.)</p>
      <p>
        Furthermore, the tool aims to increase user engagement and learnability through
interactive elements and domain-specific 3D representations. Users can choose the specific
domain representations using the main menu (Fig.4). Overall, the 3D representations
added specialization for depicting activities and the potential to show causal relations
through animations, but this complexity could increase semantic ambiguity [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>Nevertheless, to enhance process granularity understanding, 3DCR provides multiple
perspectives views, including first-person, third-person, and global views. Users can
switch between diferent views to gain insights into the process model, such as a detailed
view of specific activities or a broader overview of the entire process (Fig.5).</p>
      <p>After the 3D Environment setup, users can interact with the process models, analyze
the context variants, execute actions, and observe their immediate efects within the 3D
environment. Indeed, simulating diferent scenarios by altering process parameters in
the XML file and 3D Engine (e.g., rules, roles, activities) and analyzing the outcomes
contribute to identifying potential bottlenecks and ineficiencies, enabling more informed
decision-making. Moreover, 3DCR includes the Unity Analytics plugging, which
automatically gathers logs of user interactions and properties when someone interacts with
their game. The dashboards can be accessed by the organization owner (unity developer)
from the online cloud Unity Website; the logs allow one to monitor specific in-game user
actions by defining custom events , due to the tool allowing one define more events to
capture additional logs of enriching the existing logs with additional parameters (e.g.,
add contextual information, counters, flags). In the online version, SQL queries can
be executed to automatically explore the logs and export them in CSV format (Fig.6).
(a) First Person View
(b) Global perspective
(c) Third person view
Consequently, the collected data could also be processed for external process mining
tools. Fig. 7 and 8 show the integration with Disco.</p>
      <p>(a) SQL
(b) Custom Events (c) Custom
ters</p>
      <p>
        Parame4. Maturity
3DCR was developed in Unity using the editor version 2022.3.13f1. We evaluated the
maturity by verifying basic functionality, such as successful deployment in Play Unity,
launch, and responsive user interface as well as usability was validated in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] with 8
participants (4 workers, 3 DCR novice users, 1 DCR expert). Usability metrics indicate
that while 70% of tasks were completed without assistance, there was a 20% error rate,
often due to confusion around UI elements and the sequence of activities. Additionally,
40% of users found the naming conventions confusing, and 30% expressed uncertainty
about the next steps when deviating from the intended process. Improving the clarity
of feedback and guidance could potentially reduce confusion and errors. Moreover,
perspective switching (views) added a 15-20% time burden for some users. The learning
curve was significant, with inexperienced users taking 30-35% longer to complete tasks
than those familiar with similar environments.
      </p>
      <p>Furthermore, we evaluated the performance of the main scene and the menu scene Fig.4
after 30 continuous simulations on a system running (Windows 11 Enterprise, version
23H2, 64-bit, 13th Gen Intel(R) Core(TM) i7-1365U 1.80 GHz, and 32,0 GB RAM ),
including an analysis of memory allocation, heap utilization, Unity object categories, and
CPU usage. Key findings of the main scene show a total allocated memory of 2.85 GB,
with 2.20 GB being resident on the device, distributed across various memory categories;
managed Heap Utilization of 186.8 MB, with Objects consuming the most significant
share; breakdown of Unity object categories shows RenderTexture, Shader memory, and
Texture2D as the largest consumers; and a CPU usage metrics indicate the application’s
ability to maintain real-time performance at 60 FPS, 30 FPS, and 15 FPS, with rendering
statistics and frame times suggesting potential areas for optimization.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions and Future Work</title>
      <p>
        We proposed enhancing the 3DCR as a tool for simulation, elicitation, and education of
declarative process models via virtual and immersive environments. In future work, we
would like to explore the combination of multiple dimensions and the efect of their 3D
representations. These include time, locations, layout, simulation of multiple instances,
and multiple interacting agents and process models [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]. Moreover, we would like to
expand the behaviour of the simulator to support data input parameters [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Finally,
incorporating advanced VR and AR technologies could increase the immersiveness of
the tool, creating a more engaging and interactive user experience with the potential
for voice commands or gesture-based interactions, making the tool more intuitive and
accessible to a broader range of users.
      </p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>This work was supported by the research grant “Center for Digital CompliancE (DICE)”
(VIL57420) from VILLUM FONDEN.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K.</given-names>
            <surname>Figl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Di Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <article-title>Do declarative process models help to reduce cognitive biases related to business rules?</article-title>
          ,
          <source>in: ER</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>119</fpage>
          -
          <lpage>133</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. D.</given-names>
            <surname>Simon</surname>
          </string-name>
          ,
          <article-title>How to (re) design declarative process notations? a view from the lens of cognitive efectiveness frameworks</article-title>
          , in: POEM,
          <string-name>
            <surname>CEUR-WS</surname>
          </string-name>
          ,
          <year>2022</year>
          , pp.
          <fpage>81</fpage>
          -
          <lpage>97</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D. M. T.</given-names>
            <surname>Trinh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Abbad-Andaloussi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <article-title>On the semantic transparency of declarative process models: The case of constraints</article-title>
          ,
          <source>in: International Conference on Cooperative Information Systems</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>217</fpage>
          -
          <lpage>236</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Oberhauser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Pogolski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Matic</surname>
          </string-name>
          ,
          <source>VR-BPMN: Visualizing BPMN Models in Virtual Reality, Lecture Notes in Business Information Processing</source>
          <volume>319</volume>
          (
          <year>2018</year>
          )
          <fpage>83</fpage>
          -
          <lpage>97</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>G.</given-names>
            <surname>Grambow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hieber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Oberhauser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Pogolski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A</given-names>
            <surname>Context</surname>
          </string-name>
          and
          <article-title>Augmented Reality BPMN and BPMS Extension for Industrial Internet of Things Processes</article-title>
          , in: BPM Workshops, Springer International Publishing, Cham,
          <year>2022</year>
          , pp.
          <fpage>379</fpage>
          -
          <lpage>390</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Mostafa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Alaqeeli</surname>
          </string-name>
          ,
          <article-title>Benefits and challenges of integrating iot, vr &amp; ar in the bim-based facility management process: Literature and case-based analysis</article-title>
          ,
          <source>Journal of Engineering Research</source>
          <volume>6</volume>
          (
          <year>2022</year>
          )
          <fpage>25</fpage>
          -
          <lpage>40</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T. T.</given-names>
            <surname>Hildebrandt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Mukkamala</surname>
          </string-name>
          ,
          <article-title>Declarative event-based workflow as distributed dynamic condition response graphs</article-title>
          ,
          <source>in: PLACES</source>
          , volume
          <volume>69</volume>
          <source>of EPTCS</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>59</fpage>
          -
          <lpage>73</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Marquard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Shahzad</surname>
          </string-name>
          , T. Slaats,
          <article-title>Web-based modelling and collaborative simulation of declarative processes</article-title>
          ,
          <source>in: Business Process Management</source>
          , Springer,
          <year>2015</year>
          , pp.
          <fpage>209</fpage>
          -
          <lpage>225</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S. J.</given-names>
            <surname>Jensen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <article-title>Towards immersive environments for declarative process models</article-title>
          ,
          <source>in: International Conference on Business Process Management</source>
          , Springer,
          <year>2024</year>
          , pp.
          <fpage>214</fpage>
          -
          <lpage>231</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>T.</given-names>
            <surname>Hildebrandt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          , T. Slaats,
          <article-title>Declarative choreographies with time and data</article-title>
          ,
          <source>in: BPM</source>
          , volume
          <volume>490</volume>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>73</fpage>
          --
          <lpage>89</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S.</given-names>
            <surname>Debois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Slaats</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Andaloussi</surname>
          </string-name>
          , T. T. Hildebrandt,
          <article-title>Chain of events: modular process models for the law</article-title>
          , in: iFM, Springer,
          <year>2020</year>
          , pp.
          <fpage>368</fpage>
          -
          <lpage>386</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>R.</given-names>
            <surname>Strømsted</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Debois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Marquard</surname>
          </string-name>
          ,
          <article-title>Dynamic evaluation forms using declarative modeling</article-title>
          ,
          <source>in: BPM, CEUR Workshop Proceedings</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>172</fpage>
          -
          <lpage>179</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>