03.12.2012 Views

xoEPC - Jan Mendling

xoEPC - Jan Mendling

xoEPC - Jan Mendling

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

70 3. Event-driven Process Chains (EPC)<br />

Initial and Final Marking<br />

The initial marking is the starting point for applying an iteration of the four-phase cycle.<br />

In [Rum99], the initial marking of an EPC is specified as an assignment of tokens to one,<br />

some, or all start events. While such a definition contains enough information for verifi-<br />

cation purposes, for example by the bundling of start and end events with OR-connectors<br />

as proposed in [MMN06a], it does not provide executable semantics according to the<br />

original definition of EPCs. As pointed out in [Rit99], it is not possible to equate the trig-<br />

gering of a single start event with the instantiation of a new process. This is because EPC<br />

start events do not only capture the creation of a process instance, but also external events<br />

that influence the execution of a running EPC (cf. [CS94]). This observation suggests an<br />

interactive validation approach as presented by [DAV05], where the user makes explicit<br />

assumptions about potential combinations of start events. In our approach, we assume<br />

that in the initial marking, all start arcs as ∈ As have either a positive or a negative token<br />

with the matching context 5 . A respective formalization of initial and final marking is<br />

given later in Definitions 3.14 and 3.15. In the following sections, we describe the tran-<br />

sition relations of each node n ∈ E ∪ F ∪ C in the phases of dead context, wait context,<br />

negative and positive token propagation.<br />

Phase 1: Dead Context Propagation<br />

The transition relation for dead context propagation defines rules for deriving a dead<br />

context if one input arc of a node has a dead context status. Note that this rule might<br />

result in arcs having a dead context that could still receive a positive token. Those arcs<br />

are reset to a wait context in the subsequent phase of wait context propagation (Phase 2).<br />

Figure 3.12 gives an illustration of the transition relation. Please note that the figure<br />

does not depict the fact that the the rules for dead context propagation can only be ap-<br />

plied if the respective output arc does not hold a positive or a negative token. Concrete<br />

tokens override context information, for isntance, an arc with a positive token will always<br />

5 The context of non-start arcs is derived when the four propagation phases are entered the first time.<br />

We choose to initialize all non-start arcs with a wait context (cf. Figure 3.11). Note that this context might<br />

be changed in the dead context propagation phase before any token is moved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!