On Thu, Dec 4, 2008 at 5:11 PM, Kenneth Kalmer <[EMAIL PROTECTED]> wrote: > > Howdy everyone > > Scanning though the site, rdocs & tech blog I couldn't seem to find a > way to define a participant that only gets called when the process in > explicitly canceled. Consider this: > > class RandomIntegrationProcess < OpenWFE::ProcessDefinition > sequence do > integrate :activity => "Switch on kettle via API" > reception :activity => "Ask boss if he wants coffee" > # coffee procedure plays out > end > end > > Now if the receptionist cancels the process, and we've switched on the > kettle unnecessarily we need to switch it off to conserve power...
Hi Kenneth, let me first ask a quick question. By "explicitely", do you mean that the process gets canceled by something like "engine.cancel_process(process_id)" (or its web interface equivalent) or that the receptionist did set a "please cancel whole process" to true in the workitem it received ? Cheers, -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruote (OpenWFEru) users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
