Book a Demo

Author Topic: Creating a report - Actions under each partition  (Read 3585 times)

aguevara

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Creating a report - Actions under each partition
« on: September 18, 2014, 07:20:16 am »
I am looking to create an HTML and/or MS Word Activity Diagram report listing

(1) The various partitions and the activity diagrams they are each used in. For example, if I have a User#1, System #1, System 2, partitions. I want to create a report listing all the activity diagrams where the User #1 partition is utilized. I can get a list with that information by selecting and right-mouse clicking on the partition and selecting "Find in all diagrams".
(2) In addition, I would like to create a report listing the various partitions and the actions under each of them. For example, User #1 performs action #1, action #2, ... etc. In this regard, I would want to know which actions are performed by the system, by a given user, etc.

Thanks in advance for any information you may be able to share.

Angelo

aguevara

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Creating a report - Actions under each partiti
« Reply #1 on: September 18, 2014, 07:58:35 am »
I am wondering if some of this can be accomplished using the "Relationship matrix" functionality. If so, how would you recommend this is done?

Thanks.
Angelo

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Creating a report - Actions under each partiti
« Reply #2 on: September 18, 2014, 07:41:02 pm »
I don't see how relationship matrices could help here, since they only show connectors. Other types of relationships, such as containment and diagram placement, are not shown.

Reusing partitions between diagrams the way you describe makes what you want to achieve difficult, because in order to find the actions you must look at the visual properties of their DiagramObjects and figure out if their position in the diagram falls within the bounds of the partition.

I recommend never to reuse partitions between diagrams, and to make sure that the actions are contained within their respective partitions in the project browser. This makes it easy to find the actions from a given partition.

The question then becomes, "if the partitions are each distinct elements, how do you find all actions that relate to system X or user Y?" That too is easy enough: partitions are in fact instance-type elements, so set their respective classifier to a component representing the system / actor representing the user / etc. You can also do a text search for all partitions with a certain name, but in order for that to work the modellers need to be very careful in naming their partitions properly; better in my view to use the classifier option.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.