peterpunk
unread,Feb 9, 2012, 4:15:34 PM2/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruote
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