Re: OSWorkflow - initial action for steps?

"Pat Lightbody" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <054f01c315c7$e52cf5b0$6901a8c0@moose>
This also sounds like there is starting to become a need for a higher level
"rule engine" to invoke doAction calls.

-Pat

> I'm trying to model some workflows that use asynchronous processing (by
sending JMS
> messages to some other system) in OSWorkflow and I'm finding it difficult.
I can
> create steps than have actions (called manually ala the example) that send
JMS
> messages, and I've created a JMS listener that waits for the reply and
invokes the
> proper action to "complete" the step and let it transition to the next
step, no
> problem..
>
> But once I transition to the next step, say "Step B", there is no way to
> automatically perform an action when the workflow transitions to that
"step" from
> somewhere else (maybe from a join, or from some other step's result). I
cant have
> every place that could possibly transition to Step B perform the JMS
action.. the
> same workflow XML would get propagated all over the place.. I want Step B
to
> perform the JMS action automatically whenever a workflow transitions to
it.
>
> Seems like what I need is the <initial-actions> stanza within a <step>
definition..
> That would allow the specified actions to occur whenever a transition is
performed
> to that step.
>
> What do you think? How hard woud that be?
>
> Can you think or any workarounds given the current model? There doesn't
seem to be
> any hook in the <step> definition that would allow me to perform an
action.. Makes
> it very difficult to use the product for workflows that are "automatic"
sorts of
> background flows, as opposed to users performing actions directly.
>
> -Greg
>
>
>
>
>
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
>
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.