On Wed, Jun 01, 2011 at 11:22:12AM -0700, jpgilman wrote:
>
> This works
>    unset :field => "_pic_email"
> 
> But following a timeout this doesn't
>   unset :field => "__timed_out__"
> Nor do variants of same
> 
> I need to clear the previous timeout in some fashion because my
> processes loop, but not sure how to.  What am I missing?

Hello John,

I double checked the issue and found out that 

  unset :field => "__timed_out__"

was blanking the field, but not removing it (ie it sets it to nil instead of 
removing it).

I pushed a fix for that

  
https://github.com/jmettraux/ruote/commit/4f470222374dc3226c9a7700ec6df510ebeb8b54
  
https://github.com/jmettraux/ruote/commit/d27fada413bbaa2a1eb777430471b6b2cb906385

I hope it works for you.

It got me wondering, should I clear the __timed_out__ as soon as the "flow" 
reaches an expression that has a :timeout (or a participant that responds to 
#rtimeout). Thus

  sequence do
    alice :timeout => '1w'
    bob
    charly :timeout => '1w'
  end

bob would see if alice timed out, while charly wouldn't... Well it's probably 
not a good idea, charly might be interested in knowing that alice timed out...


Thanks a lot,

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