processi

about processes and engines

implicit “process-definition”

Until now, you had to do

class IssueTracking2 < OpenWFE::ProcessDefinition
    def make
        process_definition :name => "IssueTracking", :revision => "2" do
            cursor do
                participant :qa_team
                participant :dev_team
                participant :customer_team
            end
        end
    end
end

engine.launch(IssueTracking2)
#...

With the upcoming OpenWFEru 0.9.6, you’ll simply do

class IssueTracking2 < OpenWFE::ProcessDefinition
    def make
        cursor do
            participant :qa_team
            participant :dev_team
            participant :customer_team
        end
    end
end

engine.launch(IssueTracking2)
#...

Written by John Mettraux

March 5, 2007 at 2:17 am

%d bloggers like this: