Re: the problem of condition process
Sasa Bojanic <[email protected]> Wed, 16 Sep 2009 09:12:54 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1253085220-18930-4880 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, transition leading to activity C is otherwise transition. For the XOR transition restriction elements on activity A, the order is C,B. If you use default shark configuration, shark will first evaluate transition to activity C and since it is otherwise, it will go this way. You should either: 1) reorder transition restriction elements so it first goes to activity B and then C or 2) change Shark configuration (in Shark.conf) to un-comment following line: #SharkKernel.handleOtherwiseTransitionLast=false and change the value to true. Regards, Sasa. skysea wrote: > Hi,everyone: > I defined a process that has three activities(A,B,C),and a > variables(parm).when executed activity A,if parm equals "aa", the next step > of the process will execute activity B.Else it will execute activity C.The > problem is when I set "aa" to parm,the process also execute activity C.why? > I need you helping. > > Regards! > ------------=_1253085220-18930-4880 Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: quoted-printable -- You receive this message as a subscriber of the [email protected] mailing lis= t. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=3Dhelp OW2 mailing lists service home page: http://www.ow2.org/wws ------------=_1253085220-18930-4880--