Hi John,
Now that I was able to launch a process definition -
http://groups.google.com/group/openwferu-users/browse_thread/thread/4d7fcb0cab66e363
I have one more doubt..
How do I "proceed" to the next participant once my process definition
is launched? It sits in the first participant after the launch. The
workitems page does not show any activity associated or any other
mechanism to move ahead.
My process definition is -
class ProcDef < OpenWFE::ProcessDefinition
description "WELCOME TO THE DESERT OF REAL"
sequence do
participant :first_participant
participant :second_participant
end
engine = OpenWFE::Engine.new(:remote_definitions_allowed => true)
engine.register_participant 'first_participant' do |workitem|
puts 'first participant'
workitem.fields['message'] = 'hello from first participant !'
end
engine.register_participant 'second_participant' do |workitem|
puts 'second participant'
puts "the message says '#{workitem.fields['message']}'"
end
end
I am new to this so please tell me if I am missing anything
fundamental. Also, I am trying to understand how the overall scheme of
ruote-web2 + process definition + users + groups is working..
Thanks in advance,
Pranav
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---