flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Dekervel <ker...@gmail.com>
Subject CEP two transitions to the same state
Date Wed, 14 Sep 2016 15:22:18 GMT
Hello,

I'm trying to model a FSM using the flink CEP patterns. However, there is
something i can't figure out as all the documentation examples are linear
(either you go to the single possible next state, either no match).

Suppose that two transitions lead from one state to two different states. I
guess this is doable by just defining multiple followedBy/next on the same
state.

But what about two different states that can end up in the same state (in
the order / delivery example: suppose there are two different delivery
methods, having a separate starting state but resulting in the same end
state). It is possible to deduplicate the "delivered" state but this would
lead to difficult to manage patterns when things get more complex.

Thanks!
greetings,
Frank

Mime
View raw message