答复: Re: the problem of conditi on process

王鹏 <[email protected]> Wed, 16 Sep 2009 15:36:31 +0800
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <003001ca36a0$6973bb60$3c5b3220$@com>
This is a multi-part message in MIME format...

------------=_1253086600-18930-4882
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Language: zh-cn

Hi,Sasa:
	Thank you very much.I used your method to solve the problem
successfully.

Regards!

-----=D3=CA=BC=FE=D4=AD=BC=FE-----
=B7=A2=BC=FE=C8=CB: Sasa Bojanic [mailto:[email protected]]=20
=B7=A2=CB=CD=CA=B1=BC=E4: 2009=C4=EA9=D4=C216=C8=D5 15:13
=CA=D5=BC=FE=C8=CB: [email protected]
=D6=F7=CC=E2: [shark] Re: the problem of condition process

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=3Dfalse

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=20
> variables(parm).when executed activity A,if parm equals "aa", the next=20
> step of the process will execute activity B.Else it will execute=20
> activity C.The problem is when I set "aa" to parm,the process also execute
activity C.why?
> I need you helping.
>
> Regards!
>=20=20=20




------------=_1253086600-18930-4882
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

------------=_1253086600-18930-4882--