This project is read-only.

Workflow modularity and error handling

Oct 22, 2016 at 8:06 AM
Hello there. Great work. We are currently evaluating the library and its capabilities. Till now we are impressed by its simplicity and potential.
We have come into 2 issues and I would like your expertise. The first one is about the modularity of the state machines. In all the provided examples you provide a concrete state machine from start to end. The only exception is the start of a number of children workflows. Is there a way to design modular workflows and combine them on demand under a parent workflow. Please, note combine not run as childen.
The second question is about error or exception handling while executing on_event code. Imagine we have a transition and during this transition a series of 10 on_event statements are about to execute. However during the third statement an exception occures and we have to break the execution of the next seven statements. What is the best way to achive this?

Thanks