OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [wsbpel] Issue 6 - Rough draft of proposal for vote


When the first activity in the flow completes the other activities are 
immediately terminated following the termination semantics in section 
13.4.2. That section walks through each and every activity in BPEL and 
describes exactly what happens to them when they are terminated. So I 
didn't see any reason to repeat the information in the proposed text.

	Thanks,

		Yaron

Danny van der Rijn wrote:

> 
> 
> i'd like to see your proposal address what happens to outstanding
> activities when the flow has completed.
> 
> Yaron Y. Goland wrote:
> 
>  > A very common business process design pattern is to have multiple
>  > simultaneous actions where only one of the actions needs to complete
>  > in order for the process to continue. A classic example is a search
>  > operation. The proposal given below enables the programmer to directly
>  > express this pattern in the BPEL process.
>  >
>  > The schema for flow would change to:
>  >
>  > <flow standard-attributes orJoin="Boolean"?>
>  >         standard-elements
>  >        <links>?
>  >      <link name="ncname">+
>  >        </links>
>  >        activity+
>  > </flow>
>  >
>  > Section 12.5
>  >
>  > Change: A flow completes when all of the activities in the flow have
>  > completed.
>  >
>  > To: The orJoin attribute controls the behavior of the flow. If orJoin
>  > is set to false then the flow completes when all of the activities in
>  > the flow have completed. The default value of orJoin is false. If
>  > orJoin is set to true then the flow successfully completes when at
>  > least one activity completes, any uncompleted activities are
>  > immediately terminated as defined in section 13.4.2. The phrase "at
>  > least one" is used in the previous sentence to account for the
>  > inherent difficulties in determining which activity completes first in
>  > a parallel execution environment. As such it is at least theoretically
>  > possible that more than one activity could successfully complete in an
>  > orJoin="true" flow before termination of uncompleted activities
>  > begins. When an orJoin="true" flow successfully completes, as
>  > previously defined, its compensation handler is instantiated.
>  >
>  > To unsubscribe from this mailing list (and be removed from the roster
>  > of the OASIS TC), go to
>  > 
> http://www.oasis-open.org/apps/org/workgroup/wsbpel/members/leave_workgroup.php. 
> 
>  >
>  >
>  >
> 
> To unsubscribe from this mailing list (and be removed from the roster of 
> the OASIS TC), go to 
> http://www.oasis-open.org/apps/org/workgroup/wsbpel/members/leave_workgroup.php. 
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]