The following comment has been added to this issue:

     Author: Carlos Cuenca
    Created: Mo, 4 Okt 2004 10:59 AM
       Body:
Hi all,

I would like to reopen the discussion...

My problem is that now I want to call from a Action State within use case A to another 
use case B, and then come back to A use case, and within the same Action State. The 
problem is as always... in the middle of a use case (for example making a purchase 
order) I want to search for a Customer and then continue with the customer code 
withtin the purchase order use case.

My idea is as follows:

-for those use cases that are called within another use cases, they will be 
stereotyped as something like  "ComponentUseCase". They must have one initital state 
and one final state. (on this way you ensure that if parameter is returned, you will 
always know their numbers and types)

-the calls to this use cases can be done within an activity diagram with the SubAction 
State, which allows to link to another use case, or maybe with a tagged value and a 
standard Action State. (this way the same "ComponentUseCase" can be called several 
times within the same action state)

-Links will be done as follows: when a "ComponentUseCase" case is modelled the action 
State A recevies a form with the output paramters of the "ComponentUseCase".
The State A send a varible to specify where it has to return back. The 
"ComponentUseCase" is executed and the forwards taking into account the variable that 
was received from use case A (on this way the same compent can be use from diferent 
use cases).

any ideas or comments??

Carlos

---------------------------------------------------------------------
View this comment:
  http://team.andromda.org:8080/jira/browse/BPM-27?page=comments#action_10275

---------------------------------------------------------------------
View the issue:
  http://team.andromda.org:8080/jira/browse/BPM-27

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: BPM-27
    Summary: use-case chaining using hyperlinks
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: Bpm4Struts Cartridge

   Assignee: Wouter Zoons
   Reporter: Wouter Zoons

    Created: Mi, 11 Aug 2004 9:00 AM
    Updated: Mo, 4 Okt 2004 10:59 AM

Description:
investigate the feasibility of having hyperlinks/tagged-values to chain use-cases, 
this would also mean a use-case could be linked to from within the middle of another 
one

an issue will be how to have that reflected in the code, because each use-case uses 
it's own form and it is not trivial to have the parameters properly transported (a 
usecase form is cleaned on use-case entry)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://team.andromda.org:8080/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to