...
You can explicitly register the flow with a timer and call the onTimedOut() method yourself or just call the startWithTimeout() method to start the flow registering the timeout.
Join conditions
In workflows you often want to fork parallel steps and then join on certain events. You often have complex logic to decide on what the join condition is. e.g. in pseudo code
Code Block |
---|
fork steps A, B, C
join on A and (B or C)
|
In BeanFlow we implement join conditions using regular Java code.
Composing flows
One of the main reasons for using an object orientated language is to make composition and reuse possible; similarly BeanFlow allows you to compose flows together to make modular and reusable workflow constructs easily. So BeanFlow attempts to create a collection of reusable flows which you can then use to derive from or aggregate to make whatever flows you need.
...