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...
First off, the example is contrived and a simple _if after the
question won't work. I'm building a workflow for automating domain
registrations, and it's a requirement that the DNS entries exist in
our DNS network before we kick off a variety of different procedures.
There is several participants, steps, timeouts, even some indefinite
loops in place. All of this is designed to say: if we can't get it
registered, cancel the process and forget about it. Part of forgetting
it is removing it from our DNS infrastructure.
I hope it's clear enough, thanks in advance!
Best
--
Kenneth Kalmer
[EMAIL PROTECTED]
http://opensourcery.co.za
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---