Menu

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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.