Hello,

I've just pushed a further change for this #rtimeout method.

  
https://github.com/jmettraux/ruote/commit/b1511889910aca93012ae3d067ff0a1dd72ea589

It now accepts an optional workitem parameter :

---8<---
class MyParticipant
  include Ruote::LocalParticipant

  def rtimeout(workitem)
    workitem.fields['delay'] * 4
  end
end
--->8---

It can be used to derive a timeout from some workitem fields.

It's still OK to define a rtimeout method with no parameters.


Best regards,

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

Reply via email to