Author Topic: Numbering of Alternate/Exception Path of a UseCase  (Read 1311 times)

gfard

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Numbering of Alternate/Exception Path of a UseCase
« on: November 24, 2015, 05:49:20 am »
Dear all forum member,

I have a document template for Use Cases.
I followed the instructions of the video: http://www.sparxsystems.com/resources/demos/use-case-analysis/structured-use-case-scenarios.htm
At 17:09, in generated document there is the basic path and an alternate (exception) path, in a format such as: Alternate Number : Path_Name

The alternate path is shown under the basic path with the format like:
Exception: Path_Name but without number

I am trying to add the number of the the alternate (or exception path) to the title but I can't.

I know that it can be retrieved in the template editor with the "command": {Exception.Step}

Example of exported documentation:

1.1.             Basic Path:  Confirmed
1.- The applicant selects 'Cancel application' to cancel etc....
2.- The system displays a confirmation dialogue of cancellation (see data specification).
3.- The applicant chooses whether to confirm the cancellation etc....
4.- If confirmed the system changes the status of the application to 'Cancelled' as etc....
Alternate 4a : Not confirmed
5.- The system removes the... etc.
6.- The system updates the change log. end of basic path

1.2.       Alternate:  Not confirmed (with no number)
1.- If not confirmed the system closes the cancellation dialogue, the application is not cancelled.


My template fragment is the below:
Quote
package >
element >
scenario >
{ElemScenario.Type} :  {ElemScenario.Scenario}
structured scenarios >
{Scenario_Structured.Step}.- {Scenario_Structured.Action}
exception >
{Exception.Type} {Exception.Step} {Exception.Name}
< exception
< structured scenarios
< scenario
child elements >
< child elements
< element
< package

I understand that this has to be inserted between the {ElemScenario.Type} {Exception.Step} :  {ElemScenario.Scenario}

Do you have any idea about that please?

Thanks a lot
George!
« Last Edit: November 25, 2015, 09:57:14 pm by gfard »

gfard

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Numbering of Alternate/Exception Path of a Use
« Reply #1 on: December 08, 2015, 03:57:29 am »
Hi again!

Does anyone have any thoughts, ideas or opinion about my post?

Thanks for your time!
George