On Wed, Sep 9, 2009 at 6:19 PM, Gonzalo<[email protected]> wrote: > > I've tried to use "get_flow_expression" within a block participant in > 'conf/participants.rb' but it doesn't seem to work. > The participant fails during workflow execution with a: undefined > method 'get_flow_expression' for # > Maybe I'm missing something... > > RuoteRest.engine.register_participant :decide_validation do | > flow_expression, workitem| > fe = get_flow_expression(workitem) > puts fe > end
You're right, this is better : ---8<--- RuoteRest.engine.register_participant :decide_validation do |flow_expression, workitem| p flow_expression end --->8--- 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 -~----------~----~----~----~------~----~------~--~---
