Hi:

I want to get the workitems merged when I have a concurrence :count
=>1 but the second branch got cancelled and I got the workitem from
the branch that was replied first.
On my use case I have 2 branches, in the lowest branch there is a lot
of expressions and workitem changes, so if the short branch replies
before the longest I want to have the latest workitem of the longest
branch merged with the first.

An example:

rset :field => "initial", :value => 1
concurrence :count =>1, :merge => "lowest", :merge_type => "union" do
   alpha
   subprocess :ref => "lot_of_things"
end
check_workitem
terminate

process "lot_of_things"
   rset :field => "lot", :value => "of things"
   some_participant_that_not_reply_inmediatly
end

alpha replies before than some_participant_that_not_reply_inmediatly
but in the merge I dont get the field "lot" with "of things" value
merged when the process reach check_workitem participant.

Can I get the workitem of lot_of_things merged when the fe got
cancelled?

I was thinking to do something on cancel, like if there's no children,
that is the latest and I can reply with the applied_workitem, but I
could not detect if the expression was the last on the tree on the
on_cancel.

I hope I was clear explaining it.

I'm very happy using ruote ;-)

Thanks

P


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