Re: Workflow framework?
Re: Workflow framework?
- Subject: Re: Workflow framework?
- From: Mark Morris <email@hidden>
- Date: Sun, 23 Nov 2008 13:54:13 -0600
I'll have to look in my archived stuff, I don't have it on my laptop
anymore.
It was done in WO 4.5 (Java), so it will definitely need some updating.
The general approach is you define a workflow as queues and actions,
and for each valid combination of queue and action while in that
queue, a destination queue. (Stored in the db, of course.)
Any object you wanted to participate in the workflow had to implement
a simple protocol. The framework provides your app a list of objects
in any given queue and a list of valid actions for a queue. It
implements the actions, and keeps a log of where an object as been.
You could register for notifications of objects entering or leaving
queues, to perform other tasks. You could register delegates to run a
method to determine if an action was allowed on a given object, for
finer control. There was a concept of locking objects, used to let
other users know someone was processing an object, and objects could
automatically or manually be unlocked.
It didn't provide any UI as I recall, but gave your app the
information and methods it needed.
The project this was used on had 14 total queues. Once it was
implemented, approvals that had been taking a week or more averaged
about a day.
Now to find the hard drive and/or DVDs it's stored on.... ;-)
Regards,
Mark
On Nov 23, 2008, at 1:22 PM, Lachlan Deck wrote:
On 23/11/2008, at 4:27 AM, Mark Morris wrote:
I wrote one a few years ago. From time to time I've thought about
updating it as well as another framework and contributing them, if
people might find them useful.
+1
There are a few ways to approach workflow. Email me and we can see
if what I have might be a good fit for your project. I put a lot
of time and thought into it. It is generic, and it was used very
successfully in a project a while back.
Regards,
Mark
On Nov 17, 2008, at 3:28 PM, Timothy Reaves wrote:
I can't seem to locate a framework for handling workflow. Does
one exist?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden