On Thu, Feb 10, 2011 at 10:34:09PM -0800, Raphael Simon wrote: > > John, this looks great... I'm wondering if I could trouble you with > explaining a little bit where the flow expression and its workitem get > persisted? I don't see the dispatch pool persisting it before dispatching so > it must be prior to the worker getting the dispatch message but I couldn't > put my finger on exactly where that happens.
Hello Raphael, no problem. It occurs when the expression is applied (equivalent to launched) : https://github.com/jmettraux/ruote/blob/2545415dec1acc23eec44e83240457fe2807e9d7/lib/ruote/worker.rb#L255-295 The workitem is placed in the "applied_workitem" field of the expression (the participant expression in your case). When the dispatch happens, the workitem is this 'applied_workitem' : https://github.com/jmettraux/ruote/blob/2545415dec1acc23eec44e83240457fe2807e9d7/lib/ruote/exp/fe_participant.rb#L157-170 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
