El 29/07/2010 11:25, John Mettraux escribió:

Asier,

I've been toying with : ( http://gist.github.com/497698 )

---8<---
require 'ruote'

pdef = Ruote.define do
   sequence do
     participant 'alpha'
     participant 'bravo'
     concurrence do
       participant 'alpha'
       participant 'bravo'
     end
     participant 'charly'
   end
end


[ ... ]


where "charly" is the last participant.

But what about cases where :

[ ... ]

Where the alpha, bravo and co could be subprocess names...

Oh, I get the point. You're right; in simple workflows it's easy to know who's the last participant, but in not-so-compex ones could be tricky.

I think it's better to model this batch tasks (in my case) with remote participants; looks a better solution and it's more visible what should happen in a process if you see that tasks modeled as participants.

Regards

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