<!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 Model-Driven Framework for Domain Specific Process Design and Governance</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Adrian Mos</string-name>
          <email>adrian.mos@xrce.xerox.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mario Cortes-Cornax</string-name>
          <email>mario.cortes@xrce.xerox.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jos´e Miguel P´erez-A´ lvarez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mar´ıa Teresa G´omez-L´opez</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad de Sevilla, C/ S. Fernando</institution>
          ,
          <addr-line>4, C.P. 41004-Sevilla</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Xerox Research Center</institution>
          ,
          <addr-line>6 Chemin de Maupertuis, Meylan</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Current BPM approaches and standards have not suciently reduced the Business-IT gap. Indeed, today's solutions are mostly domainindependent and platform-dependent, which limits the ability of business matter experts to express business intent and enact process change. In contrast, the tool presented in this paper supports an approach that focuses on BPM and SOA environments in a domain-dependent and platform-independent way. We propose to add a domain specific-layer on top of current solutions so that business stakeholders can design and understand their processes in a more intuitive way. This significantly improves the agility and governance of processes. The demo shows the appropriateness and the feasibility of the approach.</p>
      </abstract>
      <kwd-group>
        <kwd>Model-driven engineering</kwd>
        <kwd>Process Design</kwd>
        <kwd>DSL</kwd>
        <kwd>Governance</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Today, the Business Process Model and Notation [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] (BPMN 2.0) has become
the de-facto standard for business process modelling. With the aim at filling
the Business-IT gap, significant e↵ort has been put into bringing BPMN closer
to Service Oriented Architectures (SOA). A BPM Suite (BPMS) manages the
process execution directing SOA calls to the appropriate services and generally
provides some monitoring infrastructure. While these components help alleviate
agility problems, we observed that most of the existing solutions are
domainindependent and platform-dependent, which significantly limits the involvement
of business matter experts, especially when targeting execution. Business
analysts require dedicated means (i.e., specific type of task with implicit domain
knowledge) to e↵ectively model processes in their business domains such as
logistics, healthcare, transportation, etc. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Domain Specific Languages (DSLs)
are an e↵ective means to deal with application domains providing improvements
in expressiveness and ease of use. More specifically, it has been shown that
domain-specific process modelling languages (DSPML) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] can have significant
advantages over BPMN. However, domain specific language development is hard,
requiring both domain knowledge and language development expertise [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In
addition, such languages typically do not benefit from the kind of advanced tooling
support and platform integration that BPMN has. In previous work [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] we
describe the problems that tool providers face and propose a solution to generate
appropriate graphical studios for DSPMLs. Overall, regardless of the specific
approach, a framework that helps building the technical infrastructure to use
DSPMLs is critical.
      </p>
      <p>
        The presented tool combines technical solutions [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ] in a domain-dependent
and platform-independent way. This paper focuses on the added novelty of the
support and automatic artefact generation for data and forms in the
domainspecific layer. The addition of these new features enables the actual BPMN
generation and deployment (BonitaBPM3 in our case) through a one-click action.
As mentioned, the framework relies on a model-driven approach, which facilitates
the development of studios in order to take advantage of the DSPMLs.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Tool Significance for BPM</title>
      <p>The environment presented here is essentially an additional layer over the typical
BPM stack. The idea is to design using a DSPML, which will be converted to an
enriched BPMN that executes in a BPMS. The approach has two main steps: 1)
the Domain Specification, where the main concepts of a domain are well defined,
and 2) the Process Definition, where a non technical analyst will compose the
predefined building blocks. This separation has the potential to bring better
governance and re-usability, faster process evolution, multi-target deployment,
and non-ambiguous monitoring. Figure 1 gives an overview of the framework.
Each number corresponds to one key component described below.</p>
      <p>
        The Domain Specification relies on the definition of the domain concepts
(Data, Services, Activity Types and Forms), which correspond to the
organizational know-how [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. A Strategy (or Domain) Expert assisted by technical
sta↵ will specify, incrementally, all the common information that any domain
      </p>
      <sec id="sec-2-1">
        <title>3 http://www.bonitasoft.com/</title>
        <p>process should have access to. To support this, a generic domain meta-model
(DomainMM) is used, which can be extended for specific organization needs.
The individual domain descriptions (one per domain) correspond to instances of
the DomainMM.</p>
        <p>The Domain-Specific Process Studio Specification corresponds to the
definition of several configurable templates that manage the studio
functionalities. At this stage, a Technical Expert supported by the Strategy Expert defines
the functionalities that the studios should have (i.e., transformation capabilities,
monitoring capabilities, etc). The framework provides the possibility to enable
them easily. Here is where the graphical constructs for the domain concepts are
defined. We propose some default ones, but they can easily be changed.</p>
        <p>
          The Generated Domain-Specific Process Studio brings a design and
governance layer on top of existing BPM technology infrastructure for a
business domain. The process design is supported by the Mangrove Meta-model4
that has been extended to support domain connections. Business Analysts
create their domain specific processes (DSPs) which are eventually transformed
to a common BPMN denominator, which can leverage the BPMS investments
while preserving the specificity and power of DSPMLs. Our hypothesis is that
a reduced amount of symbols (semantically enriched) is enough to define
highlevel domain-specific process models. These models could potentially be refined
in an analysis level [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], using BPMN 2.0. However if all the details are
considered correct and no additions are needed, the generated BPMN models can be
automatically deployed in one-click. The framework provides the connection to
a (generated) platform-independent layer for managing persistence and forms. If
at any time, new elements are identified by the business analysts while designing
their process models, they could request an update of the domain which in turn
will eventually trigger an injection of the new element in the studio palette. This
ensures that needs that are identified in the context of a process could benefit
the entire domain if deemed important across the domain scope.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Prototype Implementation</title>
      <p>This prototype (see video5) relies on a the set of mature and open-source Eclipse
technologies. We believe they are highly relevant for any BPMS, many of which
are actually built using Eclipse. Figure 2 shows the architecture of the solution.</p>
      <p>The domain-specific studio relies on a plugin-based infrastructure based on
Eclipse Rich Client Platform (RCP)6 and Equinox (OSGI implementation)7.
The Eclipse Modelling Framework (EMF)8 is used for the definition of the
metamodels such as the Domain MM, the Mangrove MM (i.e. the process MM), the
abstract binding repository (ABR MM) and the BPMN MM. The Mangrove</p>
      <sec id="sec-3-1">
        <title>4 https://www.eclipse.org/mangrove/</title>
        <p>5 http://xerox.bz/2oc6X5W
6 https://eclipse.org/ide/
7 http://www.eclipse.org/equinox/
8 http://www.eclipse.org/modeling/emf/
4
MM9 is used as the pivot meta-model that enables the link between the
DomainMM and the BPMN 2.0 MM for generation purposes. The ABR defines
the bindings between the domain services and the actual technical services,
indicating the method, the URI, the port, etc. On top of EMF, the Eclipse Xtext
framework10 generates a fully featured textual editor for domain descriptions
relying on the DomainMM. The EMF ecore meta-models are the inputs for the
Sirius domain-specific editor11, which allows an easy creation of configurable
graphical modeling studios. The BPMN 2.0 transformations are managed by a
generator coded in Java.</p>
        <p>The data-centric aspects as well as the form generation are managed using
the Spring framework12. Concerning data, the framework generates Data
Access Objects (DAO) in order to reach an H2 Database through a REST API.
BonitaBPM is used as target platform. Using the public APIs, the technical
information (e.g., the called service) is injected13 in the generated activity tasks
and gateways. In a similar way, forms are generated relying on the domain data
objects and then deployed in a Model View Contoller (MVC) infrastructure
easily accessible from any process engine. The generators use Xtend14 to create the
necessary files and place them into a base project (containing a static skeleton
9 https://www.eclipse.org/mangrove/
10 https://eclipse.org/Xtext/
11 https://eclipse.org/sirius/
12 https://projects.spring.io/spring-framework/
13 https://github.com/jozemi/bonita.explore
14 http://www.eclipse.org/xtend/
of the project). Once the forms are deployed, the framework permits the
regeneration and update of the files at runtime, with no need to modify the process
model nor redeploy the process.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Future Development</title>
      <p>The presented framework provides the business stakeholders with means to
design and govern their processes from a high-level, with impact to the entire
collection of business processes in a domain, if required. A domain concept repository
enables easier re-usability of data, services, activity types and forms
independently from the target platform. Relying on the generative approach, changes are
spread through the di↵erent layers. The framework is supported by tools that
automate generation and synchronization. We used a mature set of open-source
tools to implement a prototype and used a running example that illustrates the
interest and applicability of our approach. Our next explorations include the
integration of complex decisions at the domain level as well as state tracking
in order to pro-actively help the process designers in the design and analysis of
their processes.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgment</title>
      <p>The authors would like to acknowledge the support of the European Regional
Development Fund (ERDF/FEDER) and the Spanish Ministry of Science and
Technology (TIN2015-63502-C3-2-R) that are partially funding the work of the
IDEA research group in U. of Seville.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Jablonski</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Volz</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dornstauder</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Evolution of business process models and languages</article-title>
          .
          <source>In: 2nd International Conference on Business Process and Services Computing (BPSC)</source>
          . pp.
          <fpage>46</fpage>
          -
          <lpage>59</lpage>
          .
          <string-name>
            <surname>Citeseer</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Mernik</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heering</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sloane</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          :
          <article-title>When and how to develop domain-specific languages</article-title>
          .
          <source>ACM computing surveys (CSUR) 37(4)</source>
          ,
          <fpage>316</fpage>
          -
          <lpage>344</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Mos</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Domain specific monitoring of business processes using concept probes</article-title>
          .
          <source>In: Service-Oriented Computing (ICSOC Workshops)</source>
          . pp.
          <fpage>213</fpage>
          -
          <lpage>224</lpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Mos</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cortes-Cornax</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Business matter experts do matter: A model-driven approach for domain specific process design and monitoring</article-title>
          .
          <source>In: Business Process Management (BPM -Forum)</source>
          . pp.
          <fpage>210</fpage>
          -
          <lpage>226</lpage>
          . Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mos</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cortes-Cornax</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Generating domain-specific process studios</article-title>
          .
          <source>In: Enterprise Distributed Object Computing Conference (EDOC)</source>
          . pp.
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          . IEEE (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. OMG:
          <article-title>Business process model and notation (BPMN) version 2</article-title>
          .0 (
          <year>2011</year>
          ). Available on: http://www. omg. org/spec/BPMN/2.0 (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Pinggera</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zugal</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weber</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fahland</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weidlich</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mendling</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reijers</surname>
            ,
            <given-names>H.A.</given-names>
          </string-name>
          :
          <article-title>How the structuring of domain knowledge helps casual process modelers</article-title>
          .
          <source>In: Conceptual Modeling (ER)</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>445</fpage>
          -
          <lpage>451</lpage>
          . Springer (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Silver</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>BPMN Method and Style: A levels-based methodology for BPM process modeling and improvement using BPMN 2.0</article-title>
          .
          <string-name>
            <surname>Cody-Cassidy</surname>
            <given-names>Press</given-names>
          </string-name>
          , US (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>