Book a Demo

Author Topic: resetting the numbering of steps in the use case scenario  (Read 11826 times)

slavok1

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
resetting the numbering of steps in the use case scenario
« on: September 07, 2021, 01:08:36 am »
I do not know if it is a bug or feature (if yes then very strange). When I write a scenario with list numbering, then in case of inserting list bullet points (full stop) between 2 numbered steps (as I want to use the second level of structuring within the one-step), then EA makes the reset of the numbering and numbers starts again from 1.

Situation looks like next:
  • step
  • step
  • sub step
  • sub step
  • sub step
  • step
  • step
  • step

I tried to use sub-steps in the scenario, but the second level of numbering does not exist, so I hoped that bullets can be used inside.

I also tried to use a structured scenario but there is also not possible to do the second level of numbering (or using the bullets).

The only solution I can use is to use manual own numbering (then I can use the second or even third level of numbering), but the problem is if there is a new step inside the scenario, then everything has to be renumbered manually.

Maybe this topic was already solved within this forum (I am new and did not find any).

Could anybody advise how to solve this problem?[/list]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: resetting the numbering of steps in the use case scenario
« Reply #1 on: September 07, 2021, 03:04:46 am »
I can only suggest to use structured scenario's instead. It supports just enough to avoid creating massively complex scenario's (with sub-sub-sub scenario's)
We have used those extensively (hundreds if not thousands of use cases) and never met a case that couldn't be solved

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #2 on: September 07, 2021, 08:03:45 am »
When I wrote Cockburn-style UC scenarios I just ended up using plain text and doing the numbering manually. However, I only used textual description with simple scenarios. In any case where it was complicated (i.e. several nested if clauses) I used activity diagramy. Never did I use both for the same UC since that way one never knows which is the truth: the text or the diagrammatic description.

q.

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #3 on: September 08, 2021, 12:42:04 am »
I fully agree with both Geert and Qwerty on this.

I have used, and taught, Cockburns UC style for decades and on of the pitfalls can be overly complex and really deeeply nested UC descriptions. Using the structured scenarios in EA helps you keep our UC descriptions simpler and easier to both read and use further in your design and development efforts.

If I have UC's that cannot be described using the structured scenarios, it is usuall because:
  • The Use Case needs to be split up
  • The Use Case is of a complex nature, where other tools as e.g. Activiy or Sequence diagrams or an Excel matrix is a better choice

Henrik

slavok1

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #4 on: September 08, 2021, 01:07:17 am »
I can only suggest to use structured scenario's instead. It supports just enough to avoid creating massively complex scenario's (with sub-sub-sub scenario's)
We have used those extensively (hundreds if not thousands of use cases) and never met a case that couldn't be solved

Geert

If I understood correctly, every step which has nested sub-steps is taken as a single alternate scenario.

However, the problem is also that I can't use text edits like Bold/italic/underline, text color and others within a structured scenario.

Another problem is that if I want to copy the whole scenario to the clipboard, I can't do it as CRTL+A and also I can't delete more than one step of the scenario at a time. It's very hard to edit. Maybe there is more problems, I just wrote the problems that came to my mind now.

Also thanks to Peter and Jim for their reply

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #5 on: September 08, 2021, 10:51:41 am »
I may be wrong but I suspect that you are using the use case scenario as a stand-in for sequence diagrams.
You can get the same result more easily by limiting the text description of the use case to just the end result the Actor wants, without reference to the steps to achieve it.  Then append a sequence diagram to the use case - sequence diagrams are perfect for describing steps, special logic, sub (scenarios (fragments)) etc.  Same result, but easier, cleaner and more extensible to changes, new requirements etc!

slavok1

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #6 on: September 08, 2021, 08:36:11 pm »
I may be wrong but I suspect that you are using the use case scenario as a stand-in for sequence diagrams.
You can get the same result more easily by limiting the text description of the use case to just the end result the Actor wants, without reference to the steps to achieve it.  Then append a sequence diagram to the use case - sequence diagrams are perfect for describing steps, special logic, sub (scenarios (fragments)) etc.  Same result, but easier, cleaner and more extensible to changes, new requirements etc!

Thanks for the reply, but I have not thought sequence diagram for this case.

I am searching for the best way how to record use case scenarios of all scopes and to have the best benefit from using the EA

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: resetting the numbering of steps in the use case scenario
« Reply #7 on: September 08, 2021, 08:47:58 pm »
I would not recommend SDs here. They are intended for object collaboration. Either use Activity diagrams or plain Cockburn for simple scenarios. Instead of ADs you might look into BPMN. Gives you a lot more details but takes some effort to learn it in detail.

q.