|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
the problem of condition processHi,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! |
|
|
Re: the problem of condition processHi,
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! > -- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
答复: Re: the problem of condition processHi,Sasa:
Thank you very much.I used your method to solve the problem successfully. Regards! -----邮件原件----- 发件人: Sasa Bojanic [mailto:sasaboy@...] 发送时间: 2009年9月16日 15:13 收件人: shark@... 主题: [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=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! > -- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
| Free embeddable forum powered by Nabble | Forum Help |