Workflow steps are contained within a single text file. Each text file consists of one or more lines that define:
For example, a simple workflow might look like this:
context :persons => 0 controlflow do activity :step1, :manipulate do @persons = 2 end end
This defines a context variable named persons which is assigned an initial value of 0.
Next, the controlflow includes a step that manipulates the context variable and sets the value of persons to 2.