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

Reply via email to