<!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>Work ow Flexibility by Deviation by means of Constraint Satisfaction Problem Solving</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lisa Grumbach</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ralph Bergmann</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Trier, Department of Business Information Systems II</institution>
          ,
          <addr-line>54286 Trier</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <abstract>
        <p>This paper introduces a novel approach for exible work ow management by applying constraint satisfaction problem solving. This enables us to support work ow deviations at runtime, react to upcoming events or unpredictable circumstances, but still support the user through worklist suggestions. The developed work ow engine is completely based on declarative work ow representations, whereas procedural languages are used for work ow modeling.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        In small and medium-sized enterprises (SMEs) there is a strong demand for
support concerning management of documents, business data, and processes as
well as a need for supervision and control of all running and completed
transactions [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Especially for employees who are unaware of common processes, a
Process-Aware Information System (PAIS, [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]) would be of advantage, as they
may pro t from guidance concerning ideal work ow execution and task
suggestion. Additionally, compliance concerning standards and guidelines would be
facilitated, as bene t for the enterprises. However, the use of PAISs has not yet
been broadly established in SMEs. A reason for this is that current PAISs
control process execution by traditional work ow engines in which work ows are
prescribed without providing any exibility to deviate, if necessary [
        <xref ref-type="bibr" rid="ref15 ref5">5, 15</xref>
        ]. This
is a particular problem in SMEs as their processes are only slightly standardized
and weakly structured and may vary signi cantly from case to case [
        <xref ref-type="bibr" rid="ref17 ref9">9, 17</xref>
        ].
      </p>
      <p>
        Arti cial Intelligence (AI) is a key technology for various support strategies
in Business Process Management (BPM), as it allows for automated decision
making and thus, facilitates the users work. Allowing exibility requires such
intelligent technologies, as the user should only be guided executing a work ow
and not be burdened with taking di cult decisions that could be automated.
Declarative work ows are a means of implicitly o ering exibility but therefore
require technologies from the eld of AI for work ow control. DECLARE [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is a
tool suite for declarative work ow modeling and enactment. Declarative models
consist of constraints which de ne undesired behaviour. Constraints are then
transformed to nite-state automata which allow for reasoning about work ow
states. A drawback of this approach is that this transformation process is
ine cient for more than about 50 constraints [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and thus runtime support for
changing circumstances is not provided. With an approach based on constraint
satisfaction problem (CSP) solving we aim at achieving model changes at
runtime e ciently, as constraints can simply be added or retracted without the
need of a transformation. Furthermore with a combination of imperative and
declarative paradigms the presented approach leads to an increased exibility.
      </p>
      <p>In this paper we present an approach for exible work ow execution utilizing
CSP solving to handle occurring deviations and to control worklist suggestions.
First, the foundations concerning exible work ow management are sketched,
followed by the introduction of our new concept for combining imperative and
declarative paradigms for exible work ow execution. This approach is further
described by algorithms which are based on CSP solving. The paper ends with
a brief outlook on future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Foundations and Related Work</title>
      <p>
        A work ow is \the automation of a business process, in whole or part,
during which documents, information or tasks are passed from one participant to
another for action, according to a set of procedural rules" [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. A Work ow
Management System (WfMS) supports the execution of work ows by a
workow engine that interprets the process de nitions and interacts with a worklist
handler, which is in charge of assigning work items to users.
      </p>
      <p>
        Work ow Flexibility Traditional WfMS are rigid and do not allow any
deviations from modeled work ows. Users feel restricted and such systems are rapidly
considered as a burden. Thus, users bypass the systems, which is
counterproductive for attaining the expected bene ts [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Consequently, PAISs that allow
a work ow to exibly deviate are essential for e ciency in SMEs. Schonenberg
et al. [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] distinguish between four kinds of work ow exibility: Flexibility by
Design, Change, Underspeci cation, and Deviation. The rst three types
require either complete knowledge about all possible work ow execution paths at
design-time or demand a remodeling of the work ow at run-time. Hence, a
exible reaction to sudden changing circumstances during run-time is prevented, or
actions are required to manually change the process instance, which is
impossible for inexperienced users. \Flexibility by Deviation is the ability for a process
instance to deviate at run-time from the execution path prescribed by the
original process without altering its process model."[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Although this approach
eliminates the previously mentioned disadvantages, little research exists on how
to implement this approach. Only the system FLOWer [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] implements this idea
to a limited extent by allowing the user to skip, undo, or redo a task or to insert
a new task, but still the user has to intervene manually to obtain exibility.
Work ow Modeling Paradigms Work ow modeling paradigms range from
imperative (procedural) to declarative [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Imperatively modeled work ows
explicitly specify all possible allowed execution paths, for example using a
owbased modeling language such as BPEL ([
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). Here, the control ow of tasks
as well as the related ow of data items is modeled, which results in a high
complexity and a huge modeling e ort. Declarative work ows, however, de ne
forbidden behavior and states of the work ow. Imperative work ows only
describe a subset of valid procedures, while declarative constructs describe speci c
undesired states, leading to the acceptance of every other state [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and thus,
implicitly providing exibility concerning work ow execution.
      </p>
      <p>
        Current declarative work ow approaches such as DECLARE [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], formally
base on Linear Temporal Logic formulae representing constraints, which are
further transformed into nite-state automata, for constraint validation, as
workow engine and for worklist handling. Though there is a di erentiation between
mandatory and optional constraints, and optional ones may be violated, a
possibility to retract constraints is not speci ed and therefore no unforeseen situations
can be handled exibly. The concept of DCR graphs [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is described as o ering
more exibility, but also has no possibility to restore consistency after
deviations. In later work Maggi et al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] developed an approach, Mobucon, based
on colored automata, with the ability to detect deviations and in addition to
support continuously through various strategies. A drawback of this approach is
that strategies need to be determined beforehand, and cannot be changed during
runtime, as the construction of a new automaton would take too long [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
Algorithms developed by Westergaard [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] also solve this issue with e cient runtime
modi cations, e.g. models with up to 50 constraints are handled in seconds.
      </p>
      <p>Our approach also aims at achieving e cient automated runtime modi
cations and thus requires the ability to react adequately to deviations, even to
undesired situations. A main di erence between related work and our approach
is that our work ow control bases on the interpretation of incoming documents
and their semantic information. The identi cation of semantic information has
a signi cant impact on work ow control and can be easily de ned as logical
constraints. Furthermore constraints can be added or retracted ad-hoc, without
the need of a time-consuming recompilation of the model. Therefore we regard
the identi cation of executable tasks as constraint satisfaction problem.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Concept of the Work ow Engine</title>
      <p>
        With the presented concept we aim to increase the acceptance of users, as the
presented concept does not prescribe, but still guides, if needed. Additionally,
transactions are logged for control and monitoring purposes. The implementation
of the approach of Flexibility by Deviation as presented in this paper is
embedded in the SEMAFLEX1-architecture [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], which semantically integrates exible
work ow management with knowledge-based document management and will be
developed further in the SEMANAS project. An important characteristic is that
the information about task enactment can either result from a user interaction,
e.g. a manual selection of a task being performed, or due to upcoming
documents, which are analyzed automatically and mapped to a certain task, whose
1 SEMAFLEX is funded by Stiftung Rheinland-Pfalz fur Innovation, grant no. 1158
enactment is derived subsequently. These logged task enactments construct the
actually conducted work ow as a sequence of activities that have been
performed. While the work ow engine proposes tasks which should be done next,
the user is not forced to follow these suggestions. In principle, the user is able to
do what s/he wants and in which order s/he wants. S/he can either follow the
tasks in the worklist, suggesting the standard course of action, or do something
else and upload documents created as a result of what s/he did. Through both,
explicitly completing a task and uploading documents, the actual work ow is
identi ed and recorded. Progress in turn a ects the worklist handling, including
detected deviations.
3.1
      </p>
      <sec id="sec-3-1">
        <title>Combination of Imperative and Declarative Paradigms</title>
        <p>
          For a suitable representation of the work ows concerning this concept, we
explicitly di erentiate between modeled work ow, de jure work ow, and executed
work ow, de facto work ow [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. The de facto work ow is an actually enacted
instance derived from a de jure work ow. Thus, it stores the actually conducted
transactions and thus might deviate from the de jure work ow.
        </p>
        <p>
          In our approach the de jure work ow is modeled procedurally, as it is more
intuitive and comprehensible than declaratively modeled work ows [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. The
work ow engine, however, is completely based on a declarative representation,
as this paradigm implicitly o ers exibility concerning execution. To reach a
maximum of exibility, we transform the de jure work ow into declarative
constraints, which are used to control the suggested execution order of tasks, but
which are not regarded as mandatory and consequently might be violated. Hence,
the de jure work ow is only considered as guidance, but deviations are tolerated.
Nevertheless, some deviations are critical and should never occur, considering
e.g. compliance or safety aspects. For this reason, additional mandatory
constraints can be modeled manually, to explicitly specify invalid work ow states.
Those are possibly connected with a severity speci cation, a warning message
or even a proposed corrective measure, in case the constraint is violated. Such
mandatory constraints can refer to the execution order of the tasks within a de
jure work ow or they could be global constraints specifying order constraints
across classes of work ows. Of course those mandatory constraints might
actually be violated by the user, as the work ow engine never prescribes an activity
and thus is not able to actively prevent violations. Nevertheless, the violation of
constraints (including the mandatory ones) can be detected. Depending on the
kind of constraint violation the work ow engine shall be able to react adequately.
If a non-mandatory constraint is violated, the deviation is not considered as
critical, but the work ow engine must reason about the next task to propose. If a
mandatory constraint is violated, a warning is issued or a corrective measure is
performed according to what is speci ed for the constraint.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Declarative Work ow Representation</title>
        <p>
          For the declarative work ow representation, we utilize ve di erent constraint
types of the DECLARE language [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], which countervail possible deviations:
{ Precedence(ta; tb): Task tb can only be executed after ta.
{ Response(ta; tb): Task ta requires the enactment of tb.
{ Existence(ta): Task ta is mandatory.
{ Not Co-Existence(ta; tb): Task ta and tb exclude each other.
        </p>
        <p>{ Absence(ta; x): Task ta can only be executed x times.</p>
        <p>Precedence and Response prevent undesirable skipping, concerning previous or
subsequent tasks. Existence contradicts the undoing of a task. Redoing and
creating additional instances of a task are intercepted by the constraint Absence.
Not Co-Existence avoid invoking undesired task enactments.</p>
        <p>Preventing the user from constraint violations in our case can only be achieved,
if the user manually chooses tasks from the worklist, as only such tasks are
proposed that lead to a valid work ow state. As non-mandatory constraints might
be violated, the worklist could consider tasks that contradict these constraints
but with lower priority. Mandatory constraints should never be disregarded.
Worklist handling is easy for procedurally modeled work ows, if no deviations
are possible. However, if a deviation occurs, one would not be able to suggest
an appropriate further proceeding. Constraints suit this situation perfectly, as
even if one is violated, it might be retracted, and still valid suggestions can be
computed with the help of remaining constraints. How valid task suggestions are
identi ed, will be explained in the following section.</p>
        <p>A prerequisite for the presented enactment approach is that each construct
of the de jure work ow, modeled imperatively, is automatically transformed into
corresponding declarative expressions.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Transformation into Declarative Constructs</title>
        <p>
          We consider the essential structures of imperative modeling languages on the
basis of Weske [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. The transformation rules, as described in Tab. 1, are de ned
analogously to [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], who in contrast uses Relation Algebra as formal speci cation
language. The resulting constraints are used for validating upcoming enactment
states of the work ow and for proposing tasks enabled for execution. The
following section describes the algorithm that computes possible task suggestions
on the basis of these declarative constraints.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Worklist Handling by means of Constraint Satisfaction</title>
    </sec>
    <sec id="sec-5">
      <title>Problem Solving</title>
      <p>
        According to Russell and Norvig [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] a constraint satisfaction problem (CSP)
is de ned by a set of decision variables X = fX1; X2; :::; Xng and a set of
constraints C = fC1; C2; :::; Cmg. Each decision variable has a domain Di, which
is a nonempty set of possible values for Xi. A constraint Cj is a relation over a
subset of the variables fXk; :::; Xlg, specifying the set of combination of allowed
values. An assignment of values to some or all of the variables is called state of
the problem, which is denoted as consistent, if it does not violate any constraint.
If values are assigned to every variable, the assignment is named complete. A
consistent and simultaneously complete assignment is called solution. In the
following we formulate the problem of selecting the next tasks for execution in
case of deviation from the de jure work ow as a constraint satisfaction problem.
4.1
      </p>
      <sec id="sec-5-1">
        <title>Application of CSP Solving</title>
        <p>The CSP solving algorithm is applied during work ow execution at the start of
each work ow and after each task enactment. The initial state for the algorithm
is a partially completed work ow, the de facto work ow, and its corresponding
ideal course of events, the de jure work ow. The desired output is the set of
tasks, called worklist, that can be enacted next without violating constraints.</p>
        <p>To utilize CSP solving for worklist handling, we regard the work ow tasks
as decision variables X = T . For each task ji 2 J = fj0; :::; jn 1g of the de
jure work ow, a variable tji is created and added to T . Subsequently, T is
supplemented with one single variable tend, to be able to determine whether the
work ow has completed. The elements of this set may vary while the work ow
progresses (see Sect. 4.3). The assignment of values to tasks represents a
sequential order of all tasks, including not only already executed tasks, but also
possible future executions of tasks. Thus, a valid order, determined by ascending
integer values, of tasks is calculated. As the only thing of interest is, which task
may be executed next at a speci c point in time, it does not matter if any other
tasks might be or have been executed in parallel. Consequently, the domain for
each decision variable is a set of integer values Di = f0; 1; : : : ; ng, with n as the
number of tasks extracted from the de jure work ow including the additional
variable tend.</p>
        <p>As the assignment represents a sequential execution order of all tasks, the rst
given constraint (see (1)) states that each assigned value of a decision variable
is di erent from all others. Thus, only a bijective mapping of domain values to
decision variables is a solution to the CSP.</p>
        <p>C = falldi erent (T ) ;
ti = ci; : : :
ta &lt; tb;
ta &lt; tend;
(tend &lt; ta) _ (ta &lt; tb) ^ (tb &lt; tend);
(tend &lt; tb) _ (tend &lt; ta);
n
X f (ref (ti) ; ta) &lt; x;
i=0
(si = a1) ) (tend &lt; t2);
^ (si = a2) ) (tend &lt; t1)g
(for de facto)</p>
        <sec id="sec-5-1-1">
          <title>P recedence(ta; tb)</title>
        </sec>
        <sec id="sec-5-1-2">
          <title>Response(ta; tb)</title>
        </sec>
        <sec id="sec-5-1-3">
          <title>Existence(ta)</title>
        </sec>
        <sec id="sec-5-1-4">
          <title>N ot Co-Existence(ta; tb) (6) Absence(ta; x)</title>
          <p>(1)
(2)
(3)
(4)
(5)
(7)
(8)
(9)
and f (ref (ti) ; ta) =
with ref (ti) returning the id of the referenced object of the de jure work ow
(1 if ref (ti) = ta</p>
          <p>0 otherwise</p>
          <p>Second, as we apply the CSP at a speci c point in time during execution
of the work ow, some tasks are already enacted and therefore the respective
variables have a xed assignment ci, which is a constant value specifying the
sequential execution position in the de facto work ow (see (2)). All additional
constraints either result from the transformation of imperatively modeled work ow
to declarative language constructs or originate from manually modeled
mandatory constraints. Each type of constraint has a corresponding formal de nition to
be used in the CSP solving algorithm (see (3) to (7)). As some constraint
violation explicitly depends upon work ow completion, tend is used to determine the
termination of a work ow. This is necessary to assert a mandatory enactment
of a task, a required execution of a task after a certain one, or even to assure
that some tasks have not been conducted. Considering the solution of the CSP
every task with a higher integer assigned than tend is regarded as not enacted.</p>
          <p>Due to the construction of the CSP, we are also able to in uence the control
of the work ow on the basis of semantic information. Control- ow nodes are
additionally considered as constraints to further automate the control process.
On this basis tasks are excluded from enactment proposals. For each xor or
loop construct (cf. Fig. 1) two constraints are included (see (8, 9)). With si
representing a decision variable, which either takes a1 or a2 as value, we are able
to derive which path in the work ow should be followed. For work ow control
the execution of the oppositional path is prevented, e.g. if the information of si
is known to be a1, task t2 should not be enacted (tend &lt; t2).</p>
          <p>Furthermore, considering the importance of data nodes for the presented
approach, additional constraints are generated on the basis of data dependencies.
For example, if data node d1 is output of task t1 and input of t2, a constraint
P recedence(t1; t2) is inserted in the set of constraints, as it is necessary to enact
task t1 to subsequently process d1 with t2.</p>
          <p>Table 2 shows an example transformation from procedurally modeled
workow to constraints to logical formulae, which are then used by the algorithm.
To identify all tasks that might be enacted next, a solution to the presented
CSP, on the basis of the previously explained generated constraints, is searched
for (cf. Algo.1). The algorithm takes the sets T and C as input for CSP Solving,
whereas the domains Di are derived from the size of T . The set F , also used as
input, represents the de facto work ow and contains the variables from T , whose
referenced tasks have been enacted. As output the variable result is introduced,
which represents the set of tasks that might be enacted next. The value of the
expected tasks, denoted here as current, is determined by the size of F , as this
is the position which will be occupied by a task executed next. If every solution</p>
          <p>Declarative constraints Logical formulae for the CSP
Precedence(A,B), A &lt; B ^ A &lt; C^
Precedence(A,C), (B &lt; D _ C &lt; D)^
Precedence(B,D) or (End &lt; B _ End &lt; C)^
Precedence(C,D), (XY = yes) ) (End &lt; C)^</p>
          <p>Not Co-Existence(B,C) (XY = no) ) (End &lt; B)</p>
          <p>Algorithm 1: Determination of tasks which might be executed next
to the CSP would be computed, this would result in redundant and unnecessary
computations. To accelerate proceedings, we apply the CSP solving algorithm
only once for each decision variable that has not been assigned a value yet, thus,
has not been executed. If the CSP solving algorithm nds a solution, this task
might be executed next and therefore is appended to result. If no solution is
found, the user must not execute the task next and thus, it is not proposed.
4.3</p>
        </sec>
      </sec>
      <sec id="sec-5-2">
        <title>Deviation Detection</title>
        <p>If a task enactment occurs, variable assignments are updated and constraints are
validated to analyze the state of the work ow and possibly restore consistency.
Algorithm 2 illustrates this procedure. As input, the enacted task jn of the de
jure work ow is received. First, the length of the de facto work ow needs to be
determined, which identi es the assigned value to the variable of the currently
enacted task within the CSP. The corresponding variable tjn is included in the
de facto work ow F , and constraints are extended with the value assignment
of current to tjn . As this task enactment might result in a constraint violation,
and consequently in an inconsistent work ow state, all constraints need to be
validated. If no solution is found, the violated constraint needs to be identi ed
and retracted from C to restore consistency. In case a mandatory constraint is
violated, the respective warnings and corrective actions are triggered. After each
task enactment the constraint set is simpli ed in order to prevent unnecessary
computations. Based on the value assignments due to the de facto work ow,
which will never change for a work ow instance, some constraints will always
resolve to true, while other parts always resolve to false, even without constraint
violations, e.g. disjunctive associated propositions. Assuming that the constraint
set is available in conjunctive normal form C = c1 ^ ::: ^ cn, clauses ci are
linked conjunctively and each clause represents a disjunction of literals ci =
l1 _ ::: _ ln. The literals mostly result from the transformation of declarative
work ow constructs to logical representations and thus, relate two tasks with
the ordering "&lt;". Other literals may be equations, such as t1 = 0, depicting the
de facto work ow, or alldi erent(T) due to the construction of the CSP. The</p>
        <p>Input : Task jn
1 current = jF j;
2 F = F [ ftjn g;
3 C = C [ ftjn = currentg;
4 if !validateConstraints(C) then
5 retractViolated();
6 end
7 simplifyConstraints(tjn );</p>
        <p>Algorithm 2: Deviation Detection
literals of interest for CSP simpli cation are the rst ones. If a task enactment
of task ti occurs, all clauses with ti on the left side (e.g. ti &lt; tj ) in one of the
literals are withdrawn, as this clause will resolve to true in any case. Furthermore
single literals, which contain ti on the right side, e.g. tj &lt; ti, can be retracted.
Those will never be ful lled, but the remaining literals in the clause have to be.</p>
        <p>One impact of this simpli cation strategy after each task enactment is that
violated constraints can be easily determined. A clause consisting of a single
literal, e.g. ti &lt; tj , where the currently enacted task tj is on the right side, is
violated, as ti has not yet been enacted, as otherwise the clause would have been
withdrawn from the constraint set previously.
4.4</p>
      </sec>
      <sec id="sec-5-3">
        <title>Extension of the CSP for Loop Patterns</title>
        <p>Until now the approach is limited to a singular execution of tasks and not
incorporating loop constructs or considering deviations like redoing a task. Thus,
an algorithm is needed which alters the input sets for Algo. 1 in case of these
previously mentioned scenarios. The trigger for this processing (cf. Algo. 3) is
an enactment of task jn of the de jure work ow.</p>
        <p>To di erentiate between individual task instances in case of a repeated
enactment, the decision variables in T are extended with a second index variable l, e.g.
t(jn;l), denoting the numbering of task instances referencing one single task, here
jn, of the de jure work ow. This second index also simpli es the validation of
the constraint Absence(ta; n), because n might be compared to the second index
l of the tasks that have already been executed. At rst, the variable t(k;l)
corresponding to task jn has to be found. The following condition checks whether the
enacted task was the rst of a loop construct. If so, the CSP is extended
considering a possible further execution within the loop. Thus, a new decision variable
t(jm;l+1), for each task jm in the loop, is included with an increased numbering
variable (l + 1). Domains have to be expanded and constraints considering the
new loop tasks have to be incorporated.
5</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion and Future Work</title>
      <p>In this paper we presented a novel concept for work ow exibility by deviation
that combines procedural and declarative work ow paradigms. Upcoming
doc</p>
      <p>Input : Task jn
1 nd t(k;l) such that k = jn and t(k;l) 2 T n F ;
2 if isF irstT askInLoop(jn) then
3 foreach jm 2 loop do
4 T = T [ ft(jm;l+1)g, with m = jT j;
5 foreach Di 2 D do Di = Di [ fjT j 1g;
6 addConstraints with usual loop constraints;
7 end
8 end</p>
      <p>Algorithm 3: CSP extension
uments and extracted semantic information are used to determine the current
state of the work ow and for control purposes. In order to react to deviations and
still propose the best way of proceeding with the work ow, constraint
satisfaction problem solving is applied. Future work will focus on a detailed elaboration
of the single algorithms and possible improvements to achieve better results.
Subsequently, the implementation will be evaluated against related approaches.
Additionally, the concept will be developed further, as the work ow designer
should be granted more freedom to choose how strict or exible the constraints
should be treated for worklist handling and, furthermore, which and how
countermeasures could be speci ed.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Business Process Management - A Comprehensive</surname>
          </string-name>
          <article-title>Survey</article-title>
          .
          <source>ISRN Software Engineering</source>
          <year>2013</year>
          ,
          <volume>1</volume>
          {
          <fpage>37</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pesic</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schonenberg</surname>
          </string-name>
          , H.:
          <article-title>Declarative work ows: Balancing between exibility and support</article-title>
          .
          <source>Computer Science - R&amp;D</source>
          <volume>23</volume>
          (
          <issue>2</issue>
          ),
          <volume>99</volume>
          {
          <fpage>113</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          , Grunbauer, D.:
          <article-title>Case handling: a new paradigm for business process support</article-title>
          .
          <source>Data Knowl. Eng</source>
          .
          <volume>53</volume>
          (
          <issue>2</issue>
          ),
          <volume>129</volume>
          {
          <fpage>162</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Andrews</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Curbera</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dholakia</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goland</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klein</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leymann</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roller</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thatte</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trickovic</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weerawarana</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <source>Business Process Execution Language for Web Services, Version 1.1. Tech. rep., BEA Systems</source>
          , International Business Machines Corporation, Microsoft
          <string-name>
            <surname>Corporation</surname>
          </string-name>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Dadam</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reichert</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rinderle-Ma</surname>
          </string-name>
          , S.:
          <article-title>Prozessmanagementsysteme - nur ein wenig Flexibilitat wird nicht reichen</article-title>
          .
          <source>Informatik Spektrum</source>
          <volume>34</volume>
          (
          <issue>4</issue>
          ),
          <volume>364</volume>
          {
          <fpage>376</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Fahland</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Lubke,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Reijers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.A.</given-names>
            ,
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Weidlich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Zugal</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Declarative versus Imperative Process Modeling Languages: The Issue of Understandability</article-title>
          . In: Enterprise,
          <source>Business-Process and Information Systems Modeling</source>
          , 10th International Workshop, BPMDS 2009,
          <article-title>and</article-title>
          14th International Conference,
          <string-name>
            <surname>EMMSAD</surname>
          </string-name>
          <year>2009</year>
          , held at
          <source>CAiSE</source>
          <year>2009</year>
          , Amsterdam, The Netherlands, June 8-9,
          <year>2009</year>
          . Proceedings. pp.
          <volume>353</volume>
          {
          <issue>366</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Grumbach</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rietzke</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwinn</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bergmann</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kuhn</surname>
          </string-name>
          , N.:
          <article-title>SEMAFLEX - Semantic Integration of Flexible Work ow and Document management</article-title>
          . In: Krestel,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Mottin</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          , Muller, E. (eds.)
          <source>Proceedings of the Conference "Lernen</source>
          , Wissen, Daten,
          <source>Analysen"</source>
          , Potsdam, Germany,
          <source>September 12-14</source>
          ,
          <year>2016</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>1670</volume>
          , pp.
          <volume>43</volume>
          {
          <fpage>50</fpage>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Hildebrandt</surname>
          </string-name>
          , T.T.,
          <string-name>
            <surname>Mukkamala</surname>
            ,
            <given-names>R.R.</given-names>
          </string-name>
          :
          <article-title>Declarative Event-Based Work ow as Distributed Dynamic Condition Response Graphs</article-title>
          .
          <source>In: Proceedings Third Workshop on Programming Language Approaches to Concurrency and communication-cEntric Software, PLACES</source>
          <year>2010</year>
          , Paphos, Cyprus,
          <source>21st March</source>
          <year>2010</year>
          . pp.
          <volume>59</volume>
          {
          <issue>73</issue>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Ho mann, D.:
          <article-title>Schlanke Formen des Geschaftsprozessmanagements Das richtige BPM-Rezept</article-title>
          (
          <year>February 2013</year>
          ), http://www.it-zoom.de/it-mittelstand/e/dasrichtige-bpm-rezept-
          <volume>5287</volume>
          /
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <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>Westergaard</surname>
          </string-name>
          , M.,
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          :
          <article-title>Monitoring Business Constraints with Linear Temporal Logic: An Approach Based on Colored Automata</article-title>
          . In: Business Process Management - 9th
          <source>International Conference, BPM</source>
          <year>2011</year>
          ,
          <article-title>Clermont-</article-title>
          <string-name>
            <surname>Ferrand</surname>
          </string-name>
          , France,
          <source>August 30 - September 2</source>
          ,
          <year>2011</year>
          . Proceedings. pp.
          <volume>132</volume>
          {
          <issue>147</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Pesic</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>Constraint-based work ow management systems: shifting control to users</article-title>
          .
          <source>Ph.D. thesis</source>
          , Technische Universiteit Eindhoven (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Pichler</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weber</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zugal</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pinggera</surname>
            ,
            <given-names>J.</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>Imperative versus Declarative Process Modeling Languages: An Empirical Investigation</article-title>
          . In: Daniel,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Barkaoui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Dustdar</surname>
          </string-name>
          , S. (eds.)
          <string-name>
            <surname>Business Process Management Workshops - BPM 2011 International Workshops</surname>
          </string-name>
          , Clermont-Ferrand, France,
          <year>August 29</year>
          ,
          <year>2011</year>
          ,
          <string-name>
            <given-names>Revised</given-names>
            <surname>Selected</surname>
          </string-name>
          <string-name>
            <surname>Papers</surname>
          </string-name>
          ,
          <source>Part I. Lecture Notes in Business Information Processing</source>
          , vol.
          <volume>99</volume>
          , pp.
          <volume>383</volume>
          {
          <fpage>394</fpage>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Russell</surname>
            ,
            <given-names>S.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Norvig</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Arti cial Intelligence - A Modern Approach (3</article-title>
          . internat. ed.).
          <source>Pearson Education</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Saam</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Viete</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schiel</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Digitalisierung im Mittelstand: Status Quo, aktuelle Entwicklungen und Herausforderungen</article-title>
          (
          <year>August 2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Schlecht</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>Prozessmanagement in der Cloud</article-title>
          .
          <source>ERP Management 4/2013: Betriebsformen moderner Systeme</source>
          <volume>3</volume>
          ,
          <issue>33</issue>
          {
          <fpage>36</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Schonenberg</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mans</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Russell</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mulyar</surname>
          </string-name>
          , N.,
          <string-name>
            <surname>van der Aalst</surname>
            ,
            <given-names>W.M.P.</given-names>
          </string-name>
          :
          <article-title>Process Flexibility: A Survey of Contemporary Approaches</article-title>
          . In: Advances in Enterprise Engineering I, 4th International Workshop CIAO! and 4th International
          <string-name>
            <surname>Workshop</surname>
            <given-names>EOMAS</given-names>
          </string-name>
          , held at
          <source>CAiSE</source>
          <year>2008</year>
          , Montpellier, France, June 16-17,
          <year>2008</year>
          . Proceedings. pp.
          <volume>16</volume>
          {
          <issue>30</issue>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Supyuenyong</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Islam</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kulkarni</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          R.:
          <article-title>In uence of SME characteristics on knowledge management processes: The case study of enterprise resource planning service providers</article-title>
          .
          <source>J. Enterprise Inf. Management</source>
          <volume>22</volume>
          (
          <issue>1</issue>
          /2),
          <volume>63</volume>
          {
          <fpage>80</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Wedemeijer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Transformation of Imperative Work ows to Declarative Business Rules</article-title>
          . In: Shishkov,
          <string-name>
            <surname>B</surname>
          </string-name>
          . (ed.)
          <source>Business Modeling and Software Design - Third International Symposium, BMSD</source>
          <year>2013</year>
          , Noordwijkerhout,
          <source>The Netherlands, July</source>
          <volume>8</volume>
          -
          <issue>10</issue>
          ,
          <year>2013</year>
          ,
          <source>Revised Selected Papers. Lecture Notes in Business Information Processing</source>
          , vol.
          <volume>173</volume>
          , pp.
          <volume>106</volume>
          {
          <fpage>127</fpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <source>Business Process Management: Concepts</source>
          , Languages, Architectures. Springer (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Westergaard</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Better Algorithms for Analyzing and Enacting Declarative Workow Languages Using LTL</article-title>
          . In: Business Process Management - 9th
          <source>International Conference, BPM</source>
          <year>2011</year>
          ,
          <article-title>Clermont-</article-title>
          <string-name>
            <surname>Ferrand</surname>
          </string-name>
          , France,
          <source>August 30 - September 2</source>
          ,
          <year>2011</year>
          . Proceedings. pp.
          <volume>83</volume>
          {
          <issue>98</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <article-title>Work ow Management Coalition: Work ow Management Coalition Terminology</article-title>
          &amp;
          <string-name>
            <surname>Glossary</surname>
          </string-name>
          (
          <year>February 1999</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>