Re: Shark Transition <Condition Type="EXCEPTION"/>
Sasa Bojanic <[email protected]> Thu, 28 Dec 2006 15:06:51 +0100
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1167314852-12964-32 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, exception transitions do make sense on Manual (No implementation) activities only when you define deadline for the activity (see deadlineexamples.xpdl coming with Shark). You can also see the usage of exception transitions for "catching" exceptions on "Tool" activities if you look at exception_transitions.xpdl process definitions. Greetings, Sasa. Francisco Fernandez Velasco wrote: > Hi, > > What is the exact meaning of Transition with <Condition Type="EXCEPTION"/> > in Shark? > I mean, in the next simple scenario: > > <Activity Id="1" Name="aaa"> > <Implementation> > <Tool Id="foo_app" Type="APPLICATION"> > <ActualParameters> > <ActualParameter>a</ActualParameter> > </ActualParameters> > </Tool> > </Implementation> > <StartMode> > <Automatic/> > </StartMode> > <FinishMode> > <Manual/> > </FinishMode> > </Activity> > <Activity Id="2" Name="bbb"> > <Implementation> > <Tool Id="bar _app" Type="APPLICATION"> > <ActualParameters> > <ActualParameter>b</ActualParameter> > </ActualParameters> > </Tool> > </Implementation> > <StartMode> > <Automatic/> > </StartMode> > <FinishMode> > <Manual/> > </FinishMode> > </Activity> > <Transition From="1" Id="exc" To="2"> > <Condition Type="EXCEPTION"/> > </Transition> > <Transition From="1" Id="ok" To="3"> > <Condition Type="CONDITION">result == 1</Condition> > </Transition> > > When the MANUAL Activity 1 it's completed, How can be said that it's an > EXCEPTION transition and so, Shark transits to Activity 2 instead of > Activity 3? > > Thanks in advanced! > > > > > ------------------------------------------------------------------------ > > > -- > 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 > ------------=_1167314852-12964-32 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- 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 ------------=_1167314852-12964-32--