Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - saniea

Pages: [1]
1
Uml Process / Re: Specific Format of State Machine Diagram
« on: November 02, 2021, 10:04:25 pm »
Hi Avi,

Please see attached image.

1. I simply wrote the steps in different lines and they appeared in different lines in the diagram. The semicolon was just for convenience.
2. The "show behavior in diagram" button is at the bottom of the text box where the behaviour properties are written.



Let me know if this helps! Also if the image is no longer visible. I will upload it again.

Saniea

2
General Board / Re: State Machine and entry behaviors
« on: August 16, 2021, 07:37:50 pm »
Hi!

I think your question about the state machine entry/do/exit behaviours might be similar to one I had. Have a look at this thread and this specific message for how I was able to reach the solution:

https://www.sparxsystems.com/forums/smf/index.php/topic,46065.msg270022.html#msg270022

Can't say much about the relationship matrix though.

Hope this helps!

saniea

3
Uml Process / Re: Specific Format of State Machine Diagram
« on: August 06, 2021, 10:59:46 pm »
Hi again,

Peter is right - though only one entry/do/exit operation are allowed, several actions can be carried out in each operation.

So I mostly figured out how to get what I want. The steps I took were:
 - Select the state you want to add the operations to
 - Go the "Features & Properties" window
 - In "Features & Properties" select the "Behavior" tab
 - In the "Behavior" tab, select the operation you want to add, e.g. entry and write in essentially a title in the "Name/Comment" section of the entry behavior
 - Then go the "Behavior Properties" window and under the "Behavior" tab, in the "Behavior" textbox, enter all the numerous actions you want to execute in the entry operation
 - Check "Show Behavior in Diagram" box, hit save and voila, all the actions will show up in the entry operation, exactly like in the picture I posted in my question. :)

The only issue now is that the entry/do/exit operations are not showing up in the correct order in the states, so I will be trying to figure that out next. If anyone has any clues about that, please let me know.

I hope this answer is useful to someone else as well! Thank you guys for your help!

4
Uml Process / Re: Specific Format of State Machine Diagram
« on: August 02, 2021, 07:06:27 pm »
Hey Rethinking,

Thank you for your reply! I had made no progress since my post despite looking around for possible solutions.

I'll try out what you suggested but I don't really want to do any simulations and essentially just want a State Machine diagram. Is it possible to write plain statements in the Effect box on the Transitions? (essentially where you suggested I write something like sim.var1.foo; sim.var1.bar;, can I write simple words? Would that produce the same outcome?

I'm going to watch the video you recommended and try this out anyway. Thanks once again. I hope this works!

Best,

Saniea

5
Uml Process / Specific Format of State Machine Diagram
« on: July 22, 2021, 08:17:07 pm »
Hi everyone,

I am relatively new to both UML and EA. I am attempting to model a state machine for our system. Every state in our system has multiple actions in the entry/do/exit actions. Somewhat like the image attached to the post, taken from https://sparxsystems.com/resources/gallery/diagrams/software/sw-state_machine-pedestrian_crossing.html



The problem I'm facing is that I cannot figure out how to add multiple actions in the entry/do/exit actions. I understand I might have to do something like marking "effect is behaviour" but I don't really get how to do that. I also couldn't find any tutorials or guides as to how I can achieve this.

Any help will be appreciated. Thank yoouuu!

Saniea  :) :)

Pages: [1]