Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Composition Flows

Description

JoinAll

Performs a join on all the given child flows. So the flow waits until all the child flows have completed, then it completes itself. You can add additional constraints to the flow using derivation. The default is to wait for all the child flows to complete; though you can enable fast-fail mode so that the flow fails as soon as a child flow fails

JoinQuorum

This flow is useful for implementing clustering style flows where you want a quorum of flows to complete. e.g. if you have 5 child flows you want to wait for at least 3 flows to complete succesfully before continuing