examples/flowtracing.rb in ruote-0.9.18 vs examples/flowtracing.rb in ruote-0.9.19
- old
+ new
@@ -7,18 +7,18 @@
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
+ 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)