Re: Parent-Activity Completion Depends on the Child Sub-Process Status

"Sasa Bojanic" <[email protected]> Thu, 29 Sep 2005 21:45:18 +0200 (CEST)
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi,

I'm not sure that I understood the requirement correctly, but it seems to
me like standard SubFlow activity from XPDL.
Hence, when you define synchronous subflow activity in the process, this
activity references some other process. When this activity comes to an
execution, the referenced process is created and started. When this
process finishes, the referencing activity from the parent process
finishes automatically, and the parent process flow continues.

You can find some examples of subflow activities in Business_Example.xpdl
comming with shark - there are both synchronous and asynchronous subflow
activities.

Regards,
Sasa.


> Hi all,
>
> We are investigating the possibility of using Enhydra Shark as part of a
> big project, however we got a question that we couldn't answer.
>
> It is possible to create sub-flows and attach it to the main process so
> it get started once the requester-activity is activated, but most
> importantly, some activates in the main process(parent) depends on the
> completion of the sub process(es) (children)
>
> This will require modifying and loading the XPDL file again, but we
> would like this to be done on the fly.
>
> The work around that we thought of is to implement some logic at the top
> of this to make sure that the parent's-activity doesn't get completed
> before the designated sub-process get completed, but we would like to
> know if this is doable by Shark? if yes, can anybody provide hints ?
>
> Regards
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws