Hi John, 

after working for some time with ruote, I found some things, I think, might not 
be that consistent as they could be. 
Maybe I missed a concept, I'm sure you will have answers :-) 

1)
Queries on a specific participant are not scoped to that participant

For example

RuoteKit.engine.participant('picklist_processor').all.map {|wi| 
wi.participant_name}
-> returns all workitems/partipant_names .. 

the same as doing

RuoteKit.engines.storage_participant.all.map {|wi| wi.participant_name}

Intuitively I would expect that calling a query on a participant, will 
scope/prefilter that query ..

2)

An _if block is not implicit sequential ?  
It makes a difference, at least for my test-suite if I do 

_if ".." do
    exp1
    exp2
    exp3
end

or

_if ".." do
  sequence do
    exp1
    exp2
    exp3
  end
end

I ended to prevent to use _if at all and use a cursor :if=>".." expression 
instead

cursor :if => ".." do
    part1
    part2
    part3
end


Thank you, 
Marco

-- 
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

Reply via email to