Thank you! 
You are absolutely right. It works now.

On Thursday, August 2, 2012 4:41:25 PM UTC+9, John Mettraux wrote:
>
>
> On Thu, Aug 02, 2012 at 12:38:31AM -0700, jordi wrote: 
> > 
> > The problem is that the workflow with this participant will get stuck on 
> > this participant forever (I launched 20 minutes ago), I have tested the 
> > current participant with  engine.process and through RuoteKit. 
> > 
> > Any light on what may be the problem here? 
>
> Hello Jordi, 
>
> your participant never replies to the engine. It should read: 
>
>   def on_workitem 
>     sleep 50 
>     reply 
>   end 
>
> or 
>
>   def consume(workitem) 
>     sleep 50 
>     reply_to_engine(workitem) 
>   end 
>
>
> Best regards, 
>
> -- 
> John Mettraux - http://lambda.io/jmettraux 
>
>

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