On Thu, Jul 29, 2010 at 09:46:18AM +0200, Asier wrote: > > I'm more than happy with the changes that John is performing in his > ruote-kit fork: error and participant resources, workitems for a > list of participants it's that you add this capabilities to > ruote-kit. It's invaluable.
Hello, he he, you've seen all that. I'm having good fun. If you have time to test it, please do. > I also have checked the new .position attribute and thinked about > one petition I've made some time ago. With this addition how could I > know if one received workitem belongs to the last step in a > workflow? I know this isn't easy to know but it should be very > useful because it allows to archive executed workflow instances and > perform some batch tasks. > > It's only a "naive" petition because I can model it adding some > participants at the end of the workflow like: > > <sequence> > > <participant name="alice" task="approve"/> > <participant name="alice" task="approve"/> > > <!-- batch tasks --> > <participant name="amqp-archive" qeue="admin" /> > <participant name="amqp-statistics" qeue="admin" /> > </sequence> Maybe you could take some inspiration from the method last? described in this message : http://groups.google.com/group/openwferu-users/msg/dbbe512cbe38c561 Maybe a last_participant? method could be of value. I'll try to do it. It's an interesting challenge. Cheers, -- John Mettraux - http://jmettraux.wordpress.com -- 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
