Hi Eugene, Your solution with a combined BC state is fine.
Otherwise you have to define more states: A -> B1 -> C1 -> D, A -> C2 -> B2 -> D /Patrik On Mon, Dec 16, 2013 at 11:17 PM, √iktor Ҡlang <[email protected]>wrote: > That is an "or" flow, why couldn't you simply model that in an FSM? > > > On Mon, Dec 16, 2013 at 10:15 PM, Eugene Dzhurinsky <[email protected]>wrote: > >> >> <https://lh5.googleusercontent.com/-pqvsGiDDYcI/Uq9sIAqdHTI/AAAAAAAAEPs/Ao16tVzZHb0/s1600/1.dot.png> >> I need to have workflow similar to this one >> >> So at some point 2 states can be "active", and workflow can not proceed >> to state "D" until appropriate transitions from B and C occur. I kind of >> "emulated" this behavior with custom state, when it remains on the same >> state until all possible transition flows finish. But probably there's some >> better way? >> > >> Thanks! >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Cheers, > √ > > * Viktor Klang* > *Director of Engineering* > Typesafe <http://www.typesafe.com/> > > Twitter: @viktorklang > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
