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 - Paulus

Pages: 1 2 3 [4] 5 6 ... 11
46
Bugs and Issues / Re: error when editing existing glossary item
« on: March 29, 2013, 03:48:26 am »
You run into this error if the glossary term already exists.

For instance if you have terms 'Cat' and 'Dog' you can't change 'Dog' into 'Cat'.

47
Bugs and Issues / Re: Lost Diagrams Toolbox
« on: March 26, 2013, 03:35:48 am »
Try switching workspaces (view->workspaces & commands),

best rergards,

Paulus




48
Bugs and Issues / Re: Cannot install Enterprise Architect Trial
« on: March 23, 2013, 01:50:36 am »
Make sure UAC is disabled while installing. Check for instance http://www.mydigitallife.info/how-to-disable-and-turn-off-uac-in-windows-7/

If install works you can always turn it back on.


49
Bugs and Issues / Re: SQL search macros not working?
« on: June 19, 2012, 02:44:13 am »
Hi Uffe,

I notice that when you define a new search query of type 'SQL editor', the search builder tab -becomes editable-. Paste your SQL search macro in this tab instead of the SQL tab and run => you will get results.  :-?

Perhaps someone forgot to remove the (now redundant) SQL tab and rename the search builder tab (or i'm missing something)?

Paulus

50
Uml Process / Re: Modelling processes that exchange messages
« on: April 03, 2013, 09:33:24 pm »
Hi Frans,

If it's about visualisation: consider using activity diagrams instead of sequence diagrams, and link actions using objectflows: Action1 -> Object -> Action2.

What you would do:

- create an Activity for each process
- create a class for each message type
- create activity diagrams representing views on processflows where:
1) you don't directly use activites in you diagrams but rather activity instances (=action)
2) you don't directly use classes  in you diagrams but class instances (= object)
3) don't link actions directly (=controlflow) but link them through objects (=objectflow)

This i think provides a neat visualisation of processflow including messages involved.

The problem then of determining the relationship matrix between activites and classes reduces to a fairly lenghty but straightforward SQL statement that:
- for a specific activity (=process) locates all its instances (actions)
- from that determines all its object flows, and from that the objects involved
- and from that, for each object, the class (=message) for that object.

best regards,

Paulus

51
Uml Process / Re: Reusing Activity in multiple use case scenario
« on: December 16, 2012, 04:29:36 am »
I haven't used this feature of EA before.

As far as I can see there is no easy way to convert a manually created  diagram using actions into scenario's  :(...


52
Uml Process / Re: Reusing Activity in multiple use case scenario
« on: December 11, 2012, 08:37:45 am »
OK, activities vs actions: when you drag an activity from the projectbrowser on to an activity diagram -and hold the CTRL down when dropping- you are presented with two options:

1) paste activity as simple link - the activity is included on the diagram. This is what one usually would do and apparently the scenario generator does (didn't know that, i prefer to work the other way around  ;))

2) create an action that 'links to' the activity. This is analogous to dropping a class on a diagram and selecting 'instance of element'. Think of it as saying 'the step that this action represents is executed by this activity (take a look at the action properties dialog, tab 'Call' property 'Behavior' and you will see what i mean)

Now try to drag the same activity on the diagram a second time (option 1): EA will protest.
But dragging a second -instance- (option 2) is allowed.

Now to answer your question, there are 2 drawbacks i can think of when using -activities- on flow diagrams:

1) an activity can be used only once on the same diagram  (as demonstrated above)
2) EA will automatically draw all current -and future- relations between the dropped activity and any other elements on the diagram it knows of (try adding a number of activities on one diagram, and then on another diagram as well, and change some relations and you will see what i mean). You can hide relations if you want but this way you will have to keep checking and updating previous work. Even worse: if you are not carefull you end up creating the same relation a second time at some future moment.

When using activity instances (actions) the above drawbacks don't occur since the action is a separate model element with its own relations.

The drawback of using -actions- is that the extra level of indirection creates problems when you want to answer questions like e.g. 'which activities are involved in this process?'. The relationship matrix for instance visualises only direct relations, e.g. action-action, but not activity->action-action<-activity. So you will have to write some (SQL) queries or script to get the answer you need, or use the available tools like the 'traceability' window to do it manually.

So it really depends on your background and how you intend to use you model what is best.

On the whole i prefer using -actions-, because it creates a clean distinction between structural relations, and dynamic relations between activities like control/object flow. In other words: use classes & activities/use cases to visualize structural relations, and objects (= class instances) and actions (=activity instances) to visualise dynamic relations. Write script/SQL to resolve relations between the underlying classes & activities.

hope this helps,

Paulus

53
Uml Process / Re: Reusing Activity in multiple use case scenario
« on: December 07, 2012, 08:18:18 pm »
My 2 cts:

- if stakeholders want to have a say in how login should look/work (above and beyond the high-level reuirements for it) i think it's worth to create a separate UC for it (regardless)
- if that's not the case then create a composite activity in a 'components package' and re-use that in the respective places (as an action)

... and although like Geert i would not put an activity on an activity diagram, keep in mind the drawback of doing that.

54
Uml Process / Re: Reusing Activity in multiple use case scenario
« on: December 07, 2012, 02:18:48 am »
I found that using -actions- based on activities instead of activities themselvess works very nicely (effectively an activity becomes a 'blueprint' for actions).

Just define your general Login step as an activity and drag-and-drop that as an element, not a link, on a diagram. This wil create an action that links to the implementiation of the activity (when doubleclicking).

Possibly a MAJOR drawback when you want to use your model for dependency analysis as wel as visualisation: dependencies between activities become indirect since a relation between any two actions implies a relation between the activities behind the actions. Can be resolved using classifiers but it involves some work, and eg something like a relationship matrix can't be used anymore.

Another reason to use ation iso activities: EA does not allow you to drop the same activity more then once on a diagram. I don't know why that is but it quickly becomes annoying.

regards,

Paulus

55
Uml Process / Re: Project changes and Application documentation
« on: November 10, 2012, 12:26:01 am »
Hi Sérgio,

I have found that the following works very nicely for documenting changes to diagrams:

For each change:

1) Create a document artifact
2) Place this on each diagram that is modified for this change, and link the change to the diagram elements that are changed (dependency relation)
3) Provide additional info in the label of such dependency relations, like eg 'added field xyz', 'included alt flow UVW', ...
4) Use a script to generate an RTF document that contains all diagrams that include a change => this can be used for formal change approval
5) Generate a static website from the model => this can be used for fast browsing when trying to understand the scope of the changes in the RTF document
6) When starting a new release: freeze the static website as release documentation and -delete- the document artifacts created in step 1 (this removes all references to the change in the model)
best regards,

Paulus

56
Uml Process / Re: Actors in a Class
« on: September 27, 2012, 08:58:44 pm »
That looks a lot like role-based authorization: look at actors not as 'physical persons' but as 'roles a physical person can have'. A person can then at one time use the system in the role of 'Supplier' and at another time as 'Partner'.

So, 'Supplier' is an Actor just as 'Partner' is and what you now need is a matrix defining which roles a particular physical (group of) persons can have. This matrix is independent of the rest of the description of your system (apart from the various roles you introduce of course) so you can model this any way you like.

One way would be to define physical (groups of) persons also as actors, but in a separate package 'Physical actors' and use a dependency or trace relation to the specific roles they can perform. The advantage of this is that you can use the 'relationship matrix view' to maintain these relations  ;)

hope this helps,

Paulus

57
Uml Process / Re: Activity Diagram:  Paste from Project Browser
« on: August 03, 2012, 12:14:01 am »
I've faced this very problem some time ago when trying to 'integrate' use cases in the workflow. Essentially what i did was to always use actions in activity diagrams, these being either 'atomic' (ie, no subflow), or instances of activities. I use an activity as the container of an activity diagram.

Btw a drawback of using actions iso activities: the extra layer of indirection makes it more difficult to determine relationships between use cases or between a use case and domain objects, etc. Then again if you're able to write script and know SQL this doesn't have to be a problem.


Quote
There is a disadvantage of using instances - one can not navigate to the Diagram under this Action (or Activity) if any. This is available only in simple link mode.

Maybe i misunderstand but if an activity is composite then you can navigate to the composite diagram from instances. Just what you need to navigate the workflow!

58
Uml Process / Re: UML and Extended toolbox not visible
« on: June 14, 2012, 04:45:54 am »
OK since you say you are new to EA i'll start with the basics:

1) From the menu, View - diagram toolbox, displays the toolbox view with toolboxes for the currently opened diagram.
2) If the UML/extended toolboxes are not shown, from the toolbox view use 'More tools...' - UML - <your pick> to open a UML toolbox.

If the 'UML' submenu is not visible from 'more tools...' then you need to activate the MDG technologies for UML and Extended: menu 'Settings' - 'MDG technologies' opens a dialog listing all MDG technologies that are available in your installation. Make sure 'Basic UML technology' and 'Core extensions' are checked

Paulus

59
Uml Process / Re: Modeling Interaction between System and Actors
« on: May 21, 2012, 07:05:01 am »
OK I now understand what you want to achieve. You can do that with EA but it requires some work: add a custom tagged value type 'ViewAttributeMap' that will hold the mapping (from the menu, settings->UML types-> tagged value types), define each view as a standard UML class with attributes, and to each attribute add a tagged value 'ViewAttributeMap' with a QL expression <entity>.<atrribute> for a 1-1 mapping or DDL for more complex mappings (you can do that from the 'Tagged Values' view).

The drawback is that there is no check on the validity of the QL against your model (eg if you have a map Book.Title and you change the attribute Title to Description then your QL is not altered by EA). So you may want to write a script that checks for such inconsistencies.

regards,

Paulus

60
Uml Process / Re: Modeling Interaction between System and Actors
« on: May 15, 2012, 06:27:09 am »
What you describe sounds a lot like the  "View" stereotype from the Data modelling extended profile. Perhaps it is easier to turn this around: start by creating the DDL, define each view using the "View" stereotype from that, create a class in your concectual model for each view and link these together using a Realize link?

Pages: 1 2 3 [4] 5 6 ... 11