How to show the SD of activity inside a state machine ?

Moderator: Moderators

How to show the SD of activity inside a state machine ?

Postby John S » Wed Oct 17, 2018 3:47 pm

Hi,

We have a state machine as you see in [1].
The Running state has an Entry activity connected to an activity diagram as seen in [2].
Inside the activity diagram we have couple of Opaque Actions. One inside the SUT block (of swimlane) and one part of the Target block.

When we simulate this state machine and auto-generate the Sequence Diagram for it we would like to see the actors and System Under Test (SUT) blocks it means the internal interactions of the Running state. But we only see the states of the state machine in the sequence diagram generated (see [3]).

During the simulation it shows the transitions in [2] from Swimlane owners it means from EndUser to SUT to Target but the auto-generated Sequence Diagram doesn't show them.

How can we show the interaction of the Swimlane owners (blocks) [2] in the auto-generated Sequence Diagram ?

Thanks,
John

[1]
1.PNG


[2]
2.PNG


[3]
3.PNG
You do not have the required permissions to view the files attached to this post.
John S
Forum Beginner
Forum Beginner
 
Posts: 67
Posts Rating:1
Joined: Mon Jul 02, 2018 7:52 pm
Full name: John S

Re: How to show the SD of activity inside a state machine ?

Postby chairat_p » Mon Oct 22, 2018 3:54 am

Hello, John

Please see the sample model which have connectors between blocks via ports. Also see documentation:
https://docs.nomagic.com/display/CSTTWR ... ce+diagram

Best Regards,
Chairat
You do not have the required permissions to view the files attached to this post.
chairat_p
Forum Beginner
Forum Beginner
 
Posts: 31
Posts Rating:3
Joined: Thu Mar 16, 2017 1:35 am

Re: How to show the SD of activity inside a state machine ?

Postby John S » Mon Oct 22, 2018 2:37 pm

Hi Chairat,

Thanks for the example. But your example is not matching to our use case. You have just a state machine for waiting some time but our use case is our system has a state machine (think a vending machine or Coffee Machine). Then each state has an internal activity diagram. Now when we simulate the state machine we see only the sequence diagram created for different states of the state machine. We don't see the blocks (A and B in your example) of the swimlane of an activity diagram inside each state.

Note1: You will see the same issue if you right click on your State Diagram and simulate that you see the picture as below in [1]. In your case your state machine doesn't have any inner activities but if you had that you would still see the picture as [1] for your generated state machine.

Note2: The documentation link you sent requires a login/password

Thanks,
John

[1]
1.PNG
You do not have the required permissions to view the files attached to this post.
John S
Forum Beginner
Forum Beginner
 
Posts: 67
Posts Rating:1
Joined: Mon Jul 02, 2018 7:52 pm
Full name: John S

Re: How to show the SD of activity inside a state machine ?

Postby chairat_p » Fri Oct 26, 2018 2:57 am

Hello, John

Thanks for the useful info. We're investigating the issue, and this is probably a bug as you mentioned. We'll try our best to fix it for the next service pack.

Best Regards,
Chairat
chairat_p
Forum Beginner
Forum Beginner
 
Posts: 31
Posts Rating:3
Joined: Thu Mar 16, 2017 1:35 am


Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests