|
From: Daniele T. <d.t...@ic...> - 2002-03-13 10:46:07
|
Dear Juli=E1n, On Tuesday 05 March 2002 17:20, Juli=E1n Mu=F1oz wrote: > What is subflow mode ? (sync, async) > > I have difficulties to undestand it. The subflow mode tells the process instance what to do when the subproces= s is=20 started. sync: the workitem that invoked the subprocess will wait for the subproce= ss=20 to reach its end. When the subprocess ends, the subflow activity complete= s=20 the workitem. async: the workitem that invoked the subprocess will NOT wait for the=20 subprocess to reach its end. As soon as the subprocess is started, the=20 subflow activity completes the workitem. Example: Process main: Begin, SubflowToSub, End Process sub: Begin, myact, End if SubflowToSub is set to sync the flow will be: Begin(main) | SubflowToSub(main) | Begin(sub) | myact(sub) | End(sub) | End(main) if SubflowToSub is set to async the flow will be: Begin(main) | SubflowToSub(main) |=09\ |=09Begin(sub) |=09| |=09myact(sub) |=09| |=09End(sub) | End(main) clear enough? Daniele =3D) |