Sha256: babf6d8e20d435381762e81092da381101e8b31922e12dba08e988bf9aa45371

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

#
# a little script that traces the flow given as input
#

require 'rubygems'

require 'openwfe/expressions/raw_prog'
require 'openwfe/tools/flowtracer'

class MyProcessDefinition < OpenWFE::ProcessDefinition
  def make
    process_definition :name => "mpd", :revision => "0" do
      sequence do
        participant "alpha"
        set :field => "toto", :value => "toto value"
        participant "bravo"
      end
    end
  end
end

OpenWFE::trace_flow(MyProcessDefinition)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruote-0.9.19 examples/flowtracing.rb
ruote-0.9.20 examples/flowtracing.rb