On Thu, 30 Aug 2001 [EMAIL PROTECTED] wrote:
> Date: Thu, 30 Aug 2001 13:19:12 -0400
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Workflow
>
> Hi all,
>
> I have a couple of questions about the workflow project.
>
> How applicable is the workflow project to GUI/Swing flow? I know
> the intent of the workflow engine is to be used with Struts and web based
> projects.
>
I'm by no means an expert on GUI/Swing type development, but my impression
is that using Workflow on top would be possible but not necessarily easy.
A typical GUI is driven by a large variety of asynchronous events, whereas
the only event that Workflow will really care about in a web environment
is the "page completed" event.
I'd ben interested in someone exploring the applicability of Workflow for
Swing, but that's not going to be my particular focus.
> Also, is there a way to move backwards through an Activities' Steps. And
> can the Steps be decision makers based on the state of the application
> model. Basically decide where to go next?
>
At present, the "core" library has an unconditional "goto" that lets you
redirect to any step with an identifier (backwards or forwards) in the
same activity, plus "and" and "or" that let you conditionally transfer
control. (There's also "call" to call a different activity as a
subroutine). Additional ideas are welcome.
In the "web" library, one thing I intend to add is a goto-type step that
grabs the step identifier from a particular request parameter, so that you
can set up hyperlinks for buttons. Look for a check-in that includes this
over the weekend some time.
> Thanks,
>
> David Snyder
>
>
>
>
Craig