Previously with ruote-web2 I registered process participants using the
following syntax.
load 'public/defs/exec_process.rb'
load 'public/defs/restore_process.rb'
engine.register_participant(:execprocess,
OpenWFE::ProcessParticipant.new(ExecProcess))
engine.register_participant(:restoreprocess,
OpenWFE::ProcessParticipant.new(RestoreProcess))
The file would look like this:
file: public/defs/exec_process.rb
class ExecProcess < OpenWFE::ProcessDefinition
#_print "Init phase asdfasdfasdfa asdf ${f:restore_skip}"
sequence do
_if :test => "${f:phase} is not set" do
set :f => "phase", :value => "exec"
end
...
I can't find how to register process participants with ruote 2.0
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---