The animal quiz has an example of such decision point: 1. the incoming transition needs to have a call-event deferring to an operation that can return a value
2. for each outgoing transition you will need to model a guard (in MagicDraw you can best enter eg. 'true' in the name as well as the condition field The return value of the call-event in step 1 will be compared to the guard (doing a String.valueOf(..)) in the process That's it .. please check the animal quiz for an example -- Wouter Ps: in your example I would simply model 2 different actions .. 'yes' and 'no' (so using 2 FrontEndEvent instead of one) > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of Seraffetin Sent�rk > Sent: Wednesday, November 10, 2004 12:28 PM > To: [EMAIL PROTECTED] > Subject: [Andromda-user] BPM4Struts-Guard Usage > > > Hello, > > Can anyone tell me how to realize the "guard" and decision point. > I mean, I am getting the email information of a person in a FrontEndView. > Just after this, I want to ask if the user wants to enter another email > for > this specific person. > If the answer is yes this page will appear again, if not it will go to > another action state. > > > Regards, > Serafettin > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Andromda-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
