def test_misc
pdef = Ruote.process_definition do
concurrence do
alpha :task => 'clean car'
bravo :task => 'sell car'
end
end
@dashboard.register_participant ".+", Ruote::StorageParticipant
[email protected](pdef)
sleep(3)
puts @dashboard.process(wfid).workitems.inspect
puts "-----------"
puts @dashboard.process(wfid).stored_workitems.inspect
end
I this example, stored_workitems and workitems will both return two
workitems
On Tuesday, June 19, 2012 2:53:16 PM UTC-4, John Mettraux wrote:
>
>
> On Tue, Jun 19, 2012 at 11:49:08AM -0700, ddeng wrote:
> >
> > I tried this example, but in this case, stored_workitems will also
> returns
> > 2 wokitems. Doesn't it?
>
> What example, what case?
>
> --
> John Mettraux - http://lambda.io/jmettraux
>
--
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