Syntax

Bruce Kissinger

General

Workflow steps are contained within a single text file. Each text file consists of one or more lines that define:

  • handlers (optional)
  • endpoints (optional)
  • context variables (optional)
  • control flow statements (required)

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.


Related

Wiki: Home

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks