Hi John, I've managed to come up with a use case as well for participants invoking their own timeouts. Is this functionality already in ruote 2.0? Also, would it be possible to hook the timeout event from within the participant? Does the timeout event call "cancel" within a participant?
Cheers, -Jason On Aug 2, 5:00 am, 孫 皓 <[email protected]> wrote: > Hi, John > > Thank you very much, and very glad to hear that > you will make sure the participants can decidetimeoutby themselves > in v2.0. > > My process working well with thetimeoutparameter now, > thank you again. > > best regards, > sunhao > > On 2009/08/02, at 8/2 月20:47, John Mettraux wrote: > > > > > > > 2009/8/2 孫 邕 <[email protected]>: > > >> Hi, John > > >> some additional information about my question. > > >> i have a google spreadsheet as below > >> ---------------------------------- > >> step,timeout > >> decide_jobdetails, 3d > >> decide_worker, 1d > >> ---------------------------------- > >> so, my participant or listener will get thetimeoutproperty from > >> the > >> spreadsheet, > >> and set it dynamically to the workitem. > > > Hello, > > > I have the impression that it's a bit tedious to have thetimeout > > information outside of the process definition. You are linking a > > "step" name like "decide_worker" with atimeout, but this 'phrase' > > "decide_worker" seems to firmly belong to a process definition. > > > sequence do > > decide_jobdetails :timeout=> '3d' > > decide_worker :timeout=> '1d' > > end > > > This makes for a very readable process definition. > > > Now I understand that you want to make it highly configurable and that > > your way of dividing what belongs to the process definition and what > > belongs to configuration is different from mine. > > > As a workaround, I'd suggest to put thosetimeoutinformation into the > > workitem or in the variables of the process instance. > > > user1 :timeout=> '${f:steps.decide_worker.timeout}' > > > would work with a workitem looking like : > > > { 'steps' => { 'decide_worker' => { 'timeout' => '3d' } } } > > > For ruote 2.0, I will make sure that participants may decide about > > theirtimeoutby themselves. > > > Best regards, not sure if I could help, > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---
