On Thu, Dec 4, 2008 at 6:14 PM, Kenneth Kalmer <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 10:59 AM, John Mettraux <[EMAIL PROTECTED]> wrote: > >> I've just added "on_error" with Raphael, maybe we could add >> "on_cancel", so that we could specifiy a participant or a subprocess >> that'd be called upon the cancelling of a branch or a subprocess. The >> more I think about it the more I like it. >> >> <process-definition name="x" revision="y" on-cancel="throw_the_water_away"> >> ... >> <process-definition name="throw_the_water_away"> >> ... >> >> Like with on-error, on-cancel could point to a participant or a >> subprocess (or the URL of yet another process). > > This is also brilliant. I think from the point of view that process > definitions should be readable and easily maintainable it makes > perfect sense. I can also imagine some backward African process > needing a sequence of politicians in the subprocess... > > If you don't get to this by the 19th I'll gladly take a stab at it. > Would be nice to really dig in deep into the internals and explore > what is going on.
OK, let's implement "on_cancel", it makes sense. I'd like to implement it myself, but could you "pair" with me ? I'm fresh from implementing "on_error" and kind of a similar endeavour. Need your critical eye. I will start a branch for that. I have the impression it should be over by the beginning of next week. Wdyt ? -- 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 -~----------~----~----~----~------~----~------~--~---
