Hello Klaus, On Wed, May 09, 2012 at 01:44:22AM -0700, Klaus Schmidtmamn wrote: > > when You told me to use inheritance, You wrote: > > 1. > > ---8<--- > module Klaus > > class SkilledParticipant < Ruote::LocalParticipant > > def on_workitem > ---8<--- > > but i think you mean: > > class SkilledParticipant < Ruote::StorageParticipant > > include Ruote::LocalParticipant > > right?
No, because Ruote::StorageParticipant alreadys includes Ruote::LocalParticipant. > all Participants, existing in a processdefinition have to be > registered before launching the process-definition > > Else, i get one: > > 2 54:36.388 20 er * 20120509-0654-nayumori-bitsuroke ae5bb > 0_0_0_6 > 20120509-0654-nayumori-bitsuroke RuntimeError > 20120509-0654-nayumori-bitsuroke unknown participant or subprocess > 'user_4' > > right? Right. > Within my > > class SkilledParticipant < Ruote::LocalParticipant > > do I need a "reply_to_engine(workitem)" behind the "super-call"? No, because reply_to_engine(workitem) makes the workflow go on, (cf your new question). 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
