Book a Demo

Author Topic: Multidirectional control flows  (Read 2642 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Multidirectional control flows
« on: November 02, 2004, 07:43:43 pm »
I am stuck on this one.

I have an activity diagram for a web app.  At two points in the transaction flow the user can invoke a popup window that shows some stuff and allows them to select an option.
(In fact what it is, is a train fare class select page that alows them to pick a class and view the price and options for that class. The mainstream pages have a dropdown to select an initial class, they can then use these popups to peruse and select different classes and options and see the price effect.)
The popup page returns the set of options last selected when they click on the "Close" button.
Now this is my problem.  There are two inflows to this activity and when they click close the flow must unambigously go back to the activity they were in when the invoked it.
Control flows (by definition) are unidirectional.  So how do I show the returns must go to "where they came from"?

rgrds
Bruce


:-[ Oh, never mind I just realised thats what guard conditions are for  :-[
« Last Edit: November 02, 2004, 07:47:15 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.