Skip to end of metadata
Go to start of metadata

A simple 1 minute tutorial, how to configure an easy 3 steps flow and invoke transitions.


The first thing first is to prepare the configuration XML file. It is going to be parsed by JAXB, so you have to strictly respect XSD.



Now you have to initialize the flow processor. It can parse the XML file from an input stream. Also you can change some properties or add listeners etc. That is just going to be done once. It can be an application singleton, for example a Spring bean is a good solution for Spring based web applications.

Initializing Flow


Now se how to create the flow carter and shift between flow states.

Running Flow


That's all.

  • No labels