11 Replies - 539 Views - Last Post: 29 April 2020 - 01:26 PM

#1 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

System sequence diagram

Posted 23 April 2020 - 07:05 AM

I had to make a SSD for the following use-case:

Use case: AbonnementsDefinitie aanmaken
Scope: Cultureel Evenementen App
Primaire actor: Abonnementenbeheerder

Pre-condities:
Post-condities:
Manager has made a new subscription definition with correct list of show categories.
Stakeholders:
De Singel (event organiser): Wants to sell subscriptions for their shows.
Client: Wants to buy a subscription cause this is cheaper than a single ticket.
Main succes scenario:
  • Manager says to system it wants to make a new subscription definition.
  • System asks manager to enter category, name, and season.
  • Manager starts a new subscription definition with category, name, and season.
  • System gives overview of all shows from the chosen category and generates a new subscriptionID.
  • Manager chooses a show to link to new subscription.
  • System links show to subscription.
  • Manager links all valid shows to subscription.
  • Manager asks for overview of subsription
  • System gives overview.



Alternative scenarios:
*a Manager cancels making the new subscription.
1. System does not generate new subscription
2. Use case ends
4a There are no shows for this category
Manager chooses other categorie
Goto step 3



This is what I came up with:
Posted Image

And I've got the following questions:
  • I now use a lot of loops for the alternative scenarios, is this okay?
  • For point 2: "The system asks for ..."> I've never seen a SSD where the system really asks something, I have solved this by just letting the manager enter the info the system asks, is this okay?
  • Other things to add/improve?


Thanks!

Is This A Good Question/Topic? 0
  • +

Replies To: System sequence diagram

#2 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3151
  • View blog
  • Posts: 11,956
  • Joined: 03-December 12

Re: System sequence diagram

Posted 23 April 2020 - 09:29 AM

So this is what I do, which is funny because this is the first time I remember something along these lines being asked here.


The only loop should be for 4a, I'll get to that later. Everything is specific messages to an actor.
I always do alternative sequences in a lower section and use the alt fragment with a label of what the alternate is for brevity.
"The System asks for" is verbiage that the System is making a request,

Quote

Manager says to system it wants to make a new subscription definition.

System asks manager to enter category, name, and season.

Manager                         System
---------new definition()---------->
<---------Enter these fields------
---------new subscription()-------->
<---------overview------------------



#6 should include a self message, because it is interacting with itself.
Lastly, I don't see any activations.

4a. In an alternate sequence, the loop should be imposed over what will happen when it fails. So, it starts before step 3 and ends where the reply says there is no shows.
Was This Post Helpful? 1
  • +
  • -

#3 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 28 April 2020 - 09:54 AM

Okay, this is what I have now.
Posted Image

I don't understand how to implement the alternative scenario's though.
How to implement the alternative scenario where the user ends the program somewhere random?

And I also don't see how to implement alternative scenario 4a with a loop.
Was This Post Helpful? 0
  • +
  • -

#4 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 28 April 2020 - 04:48 PM

I'm getting close.
The only thing I still need now is how to handle abrupt cancellations in the program.

Posted Image

This post has been edited by O'Niel: 28 April 2020 - 04:48 PM

Was This Post Helpful? 0
  • +
  • -

#5 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 29 April 2020 - 06:05 AM

Final version:
Posted Image
Was This Post Helpful? 0
  • +
  • -

#6 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3151
  • View blog
  • Posts: 11,956
  • Joined: 03-December 12

Re: System sequence diagram

Posted 29 April 2020 - 06:08 AM

Getting a 404
Was This Post Helpful? 0
  • +
  • -

#7 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 29 April 2020 - 07:29 AM

404? What do you mean? Isn't the image found?
https://imgur.com/MTdOVZu

This post has been edited by O'Niel: 29 April 2020 - 07:29 AM

Was This Post Helpful? 0
  • +
  • -

#8 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3151
  • View blog
  • Posts: 11,956
  • Joined: 03-December 12

Re: System sequence diagram

Posted 29 April 2020 - 09:29 AM

I don't know what's going on, I still dont see anything, just a back image
Was This Post Helpful? 0
  • +
  • -

#9 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 29 April 2020 - 09:46 AM

That's weird. I tried something different than Imgur.com now. Does this one work? https://www.imageupl.../school-4.BT9sk
Was This Post Helpful? 0
  • +
  • -

#10 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3151
  • View blog
  • Posts: 11,956
  • Joined: 03-December 12

Re: System sequence diagram

Posted 29 April 2020 - 09:52 AM

That one displays.

The only thing is missing the activation bar.

Quote

It is used to indicate that an object is active (or instantiated) during an interaction between two objects. The length of the rectangle indicates the duration of the objects staying active.

Was This Post Helpful? 1
  • +
  • -

#11 O'Niel   User is offline

  • D.I.C Addict

Reputation: 26
  • View blog
  • Posts: 598
  • Joined: 13-September 15

Re: System sequence diagram

Posted 29 April 2020 - 11:27 AM

Alright, thanks! I think I'll just draw two activiaton bars from top to bottom, no?
Was This Post Helpful? 0
  • +
  • -

#12 astonecipher   User is offline

  • Enterprise Software Architect
  • member icon

Reputation: 3151
  • View blog
  • Posts: 11,956
  • Joined: 03-December 12

Re: System sequence diagram

Posted 29 April 2020 - 01:26 PM

depends where those objects or sessions are created. For a stateful system, the session should be started on the first connection
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1