On Tue, May 31, 2011 at 11:36:58AM -0700, jpgilman wrote:
>
> I have a couple of participants that have use the timeout attribute.
> When the participant times out _timed_out_ gets set, but I'm curious
> if there is a trivial way to also access the name of the participant
> that timed out?   It's not that I can't come up with ways to track the
> value but what I'm doing is kludgy and not very DRY.

Hello jpgilman and welcome to ruote's mailing list.

Sorry, I have no easy way to suggest out of the box.

Point taken anyway. I have added more information to the __timed_out__ field :

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

You'll be able to do something like :

  participant_name = workitem.timed_out[3]['ref']


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