<!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>Discovering, Analyzing and Enhancing BPMN Models Using ProM?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Anna A. Kalenkova</string-name>
          <email>akalenkova@hse.ru</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Massimiliano de Leoni</string-name>
          <email>m.d.leonig@tue.nl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wil M.P. van der Aalst</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Eindhoven University of Technology</institution>
          ,
          <addr-line>Eindhoven</addr-line>
          ,
          <country country="NL">The Netherlands</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Research University Higher School of Economics</institution>
          ,
          <addr-line>Moscow, 101000</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Process mining techniques relate observed behavior to modeled behavior, e.g., the automatic discovery of a process model based on an event log. Process mining is not limited to process discovery and also includes conformance checking and model enhancement. Conformance checking techniques are used to diagnose the deviations of the observed behavior as recorded in the event log from some process model. Model enhancement allows to extend process models using additional perspectives, conformance and performance information. In recent years, BPMN (Business Process Model and Notation) 2.0 has become a de facto standard for modeling business processes in industry. This paper presents the BPMN support current in ProM. ProM is the most known and used open-source process mining framework. ProM's functionalities of discovering, analyzing and enhancing BPMN models are discussed. Support of the BPMN 2.0 standard will help ProM users to bridge the gap between formal models (such as Petri nets, causal nets and others) and process models used by practitioners.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Process Aware Information Systems (PAIS) are increasingly used by organizations to
support their businesses. All these systems record the execution of process instances
in so-called event logs. These logs thus capture information about activities performed.
Each event records the execution of an activity instance by a given resource at a certain
point in time along with the output produced. Analyzing event logs, understanding and
improving processes based on facts are the primary objectives of process mining [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
In this relatively short timespan, this discipline has proven to be capable of extracting
from event logs in-depth insights into process-related problems that contemporary
enterprises face. Through the application of process mining, organizations can discover
models of the processes as they were conducted in reality, check whether the actual
executions comply with a prescribed process model, which encode certain practices and
regulations. Furthermore, process mining allows analysts to gain insight into
bottlenecks, resource utilization, and other performance-related aspects of processes.
Copyright c 2014 for this paper by its authors. Copying permitted for private and academic purposes.
      </p>
      <p>
        Most of the process-mining techniques usually need a process model as an input
or it is produced as an output. The academic world has proposed many process-model
notations in the last years, such as Petri nets, causal nets [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and process trees [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
Nonetheless, the evidence is showing that, during the last years, BPMN (Business
Process Model and Notation) 2.0 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is becoming the de-facto standard for modeling
business processes in the industry. Therefore, it seems crucial that every process-mining
technique is able to deal with BPMN models. Unfortunately, these techniques have
been devised using different notations, which are often equivalent. To overcome this
problem, two solutions are possible: either these techniques are adapted to use a BPMN
model as input or produce one as output, or robust conversion mechanisms are provided
to convert process models from these alternative notations to the BPMN notation, and
vice versa.
      </p>
      <p>
        This paper starts from the belief that the second solution is the most feasible. In this
paper, we discuss the operationalization of various techniques to convert models from
certain notations to BPMN. These conversions techniques have been implemented as
plugins for ProM [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a generic open-source framework for implementing process
mining tools in a standard environment. Several companies and universities around the
globe have contributed to the ProM development, designing and implementing plugins
to test their own process mining algorithms. The ProM framework is based on the
concept of packages each of which is an aggregation of several plugins that are conceptually
related. In the latest version, 6.3, there are already more than 120 packages containing
more than 500 plugins available, operationalizing techniques in the entire spectrum of
process mining. By implementing our conversion techniques in ProM, many of these
plugins can now produce BPMN models. Furthermore, we extended ProM to be able
to load and store BPMN models using standard formats (see later). In this way, the
discovered models can be loaded into an external BPMN modeling tool or into a
workflow engine that supports the execution of BPMN models. Similarly, the BPMN models
drawn in external tools can be loaded in ProM and used as an input for the diverse
process mining analysis.
      </p>
      <p>Last but not least, we have developed a technique to enhance a BPMN model
using performance and conformance information. To analyze a process represented as a
BPMN model first the model has to be converted to a corresponding Petri net or other
formal model. After that this model is verified against the log, retrieving performance
characteristics (activities working times, frequencies and probabilities of occurrence in
a trace) and conformance information (deviations between the process model and the
log).</p>
      <p>
        We support a large subset of the entire BPMN notation; in the addition of supporting
the control-flow constructs (activities, connecting arcs and gateways), we also allow for
the different types of data objects, swimlanes, subprocesses and events. The structure
of the BPMN-related packages in ProM is depicted in Fig. 1. The core BPMN package
operates BPMN models and gives an ability to import and export BPMN diagrams in
BPMN XML 2.0 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and XPDL 2.2 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] formats. Other BPMN packages depend on this
package. The BPMN Conversions package allows to construct BPMN-process models
from well-known control flow modeling formalisms such as Petri nets, causal nets [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
and process trees [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        Thus, using BPMN Conversions
package, BPMN processes can be discovered. The ProM
BPMN to Petri net conversion was imple- Replay
mented as well [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] 1, this conversion can be «call» plugins
used to analyze BPMN diagrams. Moreover,
the BPMN Conversions package provides the «call»
aabnidlirteystoourecnehapnecrsepBecPtMiveNs:ddiaatgaraPmetsriwniethtsddaitsa- ApBancPaklMyasNgies CopnBavcPekMrasNgioens
covered using the data-aware process mining
algorithm [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] can be converted to BPMN di- «import» «import»
agrams capturing both the control and data BPMN
perspectives (including data objects and gate- package
way guards), process trees can be converted
to BPMN along with the resource nodes, diaIgmrpaomrst/einxpBoPrtMoNfBXPMMLN2.0
translating them to BPMN lanes. The BPMN and XPDL 2.2 formats
dAinaaglryasmis bpyacakdadgien ginpietsrftourrmn aenncheanacneds cBoPnMfoNr- BPMN modeling tool
mance (log and model discrepancies)
information. The core BPMN package supports
all main BPMN elements and has been con- Fig. 1: BPMN packages architecture
tinuously extended. The BPMN Conversion
package offers fully implemented plugins for conversion between BPMN and formal
process models. The functionality of the BPMN Analysis package is still being
improved and tested. All the plugins tailored towards working with BPMN in ProM are
presented in Table 1.
      </p>
      <p>Package name
Core BPMN package
BPMN Conversions
BPMN Conversions
BPMN Conversions
BPMN Conversions
BPMN Conversions</p>
      <p>BPMN Analysis
2</p>
      <p>Use cases</p>
      <p>Plugin name Functionality
BPMN Import/Export Implements import and export of BPMN diagrams
plugins in BPMN XML 2.0 and XPDL 2.2 formats
Convert Petri net Converts a given Petri net to a BPMN model
Convert Data Petri net Converts a data Petri net to a BPMN model with</p>
      <p>data perspective
Convert causal net Converts a causal net to a BPMN model
Convert process tree Converts a process tree along with resource nodes</p>
      <p>to a BPMN model with a resource perspective
Convert BPMN model to Converts a BPMN model to a corresponding Petri
Petri net 1 net
Analyze BPMN model Enhances a BPMN model using performance and</p>
      <p>conformance information
In this section we discuss usage scenarios of BPMN-related functionality of ProM.
The scheme of usage of BPMN plugins in ProM is presented in Fig. 2. The user can
1 A special thanks to Dirk Fahland, who has implemented the BPMN to Petri net conversion
algorithm in ProM.
discover a BPMN model applying discovery and BPMN conversions plugins, after
that this model can be annotated with conformance and performance information.</p>
      <p>
        Let us consider an example of construct- Event log
ing a BPMN process model from an event
log. Suppose that we have discovered a data Process discovery algorithms
Petri net using data-aware process mining al- (Pweithtridnaetta) Causal net (wPitrhocreessosutrrceees)
gorithm [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] (Fig. 3 a.). A BPMN process
model constructed from the data Petri net is BPMN CCoonnvveresriosnisotnosBPpMaNckage
presented in Fig. 3 b. This BPMN model can
be exported to an external BPMN modeling BPMN
tool such as Signavio [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] (Fig. 3 c.). This ex- BPMcoNntvoerPseiotrni net
ample illustrates that the process discovered Petri net
from an event log can be finally represented
as a BPMN diagram with data and gateway Evaanludactioonnfoorfmpaenrfcoerminafnoce
guards and loaded to an external BPMN tool Performance and
for further analysis or even execution. BPMNcoAnnfoarlmysainscpeaincfkoage
      </p>
      <p>The other possible usage is that the user
imports a BPMN model from an external Add performance and conformance info
BPMN modeling tool (or discovers a BPMN Annotated
model using discovery and conversion plug- BPMN
ins), applies replay technique to retrieve per- Fig. 2: Functionality of BPMN
Converformance and conformance information and sions and BPMN Analysis packages
annotate the BPMN diagram using this
information. Figure 4 a. shows a BPMN process
model created in the Signavio tool, this model is loaded to ProM (Figure 4 b.), and then
analysis techniques are applied: performance and conformance information for the
entire process model and each activity in particular are added to the diagram (Figure 4 c.).</p>
    </sec>
    <sec id="sec-2">
      <title>Data Petri net to</title>
      <p>BPMN Conversion</p>
    </sec>
    <sec id="sec-3">
      <title>Import to Signavio</title>
      <p>Fig. 3: Discovering a BPMN model with data</p>
      <p>b.</p>
      <p>Export from Signavio
The entire support for BPMN discussed in this paper is available in the nightly build of
ProM and is mature enough to be applied to real business cases. Readers can learn how
to install and try out the BPMN support for ProM at http://pais.hse.ru/en/
research/projects/HLM. At the same link, a screencast video and a presentation
are available, showing the application of the two use cases discussed in Section 2.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Process</given-names>
            <surname>Definition Interface - XML Process Definition</surname>
          </string-name>
          <article-title>Language (XPDL) 2.2</article-title>
          . http:// www.xpdl.org/.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Business</given-names>
            <surname>Process</surname>
          </string-name>
          <article-title>Model and Notation (BPMN)</article-title>
          . http://www.omg.org/spec/BPMN/ 2.0/.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <source>ProM tool 6</source>
          .3. http://www.promtools.org/prom6/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>W.M.P. van der Aalst</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Adriansyah</surname>
            , and
            <given-names>B.F. van Dongen. Causal</given-names>
          </string-name>
          <string-name>
            <surname>Nets: A Modeling Language Tailored Towards Process Discovery. In J.P. Katoen</surname>
          </string-name>
          and B. Koenig, editors,
          <source>22nd International Conference on Concurrency Theory (CONCUR</source>
          <year>2011</year>
          ), pages
          <fpage>28</fpage>
          -
          <lpage>42</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>W.M.P. van der Aalst</surname>
            , J. Buijs, and
            <given-names>B.F. van Dongen</given-names>
          </string-name>
          .
          <article-title>Towards Improving the Representational Bias of Process Mining</article-title>
          . In K. Aberer, E. Damiani, and T. Dillon, editors,
          <source>IFIP International Symposium on Data-Driven Process Discovery and Analysis (SIMPDA</source>
          <year>2011</year>
          ), volume
          <volume>116</volume>
          , pages
          <fpage>39</fpage>
          -
          <lpage>54</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>C.</given-names>
            <surname>Favre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fahland</surname>
          </string-name>
          , and
          <string-name>
            <given-names>H.</given-names>
            <surname>Volzer</surname>
          </string-name>
          .
          <article-title>The relationship between workflow graphs and free-choice workflow nets</article-title>
          .
          <source>Information Systems</source>
          , Elsevier (
          <year>2014</year>
          ) In Press.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>M.</given-names>
            <surname>Kunze</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          .
          <article-title>Signavio-Oryx Academic Initiative</article-title>
          .
          <source>In Proceedings of the Demo Track of BPM</source>
          <year>2010</year>
          , volume
          <volume>615</volume>
          <source>of CEUR Workshop Proceedings. CEUR-WS.org</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>M. De Leoni and W.M.P. van der Aalst</surname>
          </string-name>
          .
          <article-title>Data-Aware Process Mining: Discovering Decisions in Processes Using Alignments</article-title>
          . In S.Y. Shin and J.C. Maldonado, editors,
          <source>ACM Symposium on Applied Computing (SAC</source>
          <year>2013</year>
          ), pages
          <fpage>1454</fpage>
          -
          <lpage>1461</lpage>
          . ACM Press,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Wil</surname>
            <given-names>M. P. van der Aalst. Process</given-names>
          </string-name>
          <string-name>
            <surname>Mining - Discovery</surname>
          </string-name>
          , Conformance and Enhancement of Business Processes. Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>