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.

Topics - Svend Erik Nygaard

Pages: 1 [2] 3
General Board / BPMN: Data objects vs Classes?
« on: October 10, 2014, 02:24:06 am »
In my concept/information model I have classes representing physical objects as well as information objects. We have definitions, descriptions and a ton of other valuable specs/connections associated with these clases.

However in BPMN it is suggested that I use a ”Dataobject” element (as physical objects or information objects).
On the DataObject I can specify an ”ItemDefinition” element, and then on the Itemdefinition I can specify my class from my conceptual/information model. To me this is a lot of indirection a lot of extra work and elements:
DataObject.itemSubjectRef -> ItemDefinition.structureRef -> Class
That gives me three elements instead of one.

EA BPMN actually does not prevent me from using my Class elements directly with the BPMN data associations instead of the DataObject elements. So I’m very tempted to just use my classes directly in BPMN (or instances – or instances with states)
Is that a bad idea? Have I misunderstood the way to link from BPMN to my classes in concept/information model?

General Board / BPMN: Data associations at two levels?
« on: October 06, 2014, 08:46:50 pm »
Do I have to create separate data associations for detail level (inside the process) and for top level (inter process)?

I have a top level view showing the object transferred between the two top level processes as shown here:

And I also have detail views for the internals of those processes showing which internal activies sends/receives the object - as shown below for the process that sends the object to the other process (physically drives the object and leaves it at the place where the other process picks it up:

Now the question is: Do I have to create the data association at both levels - or is there a way that EA recognizes the lower level data association and is able to show it automatically at the higher level?

General Board / Render the EA notes format in external formats?
« on: August 05, 2013, 10:01:20 pm »
When I create SQL reports from the EA repository, i of course get the raw formatting tags in the notes field.
Does anyone know of formating methods/libraries/conversion formulas to render the EA notes format in external formats properly.

I realize that half the formula depends on the output format.
I need to render it in MS Word, HTML, excel, and plain text

General Board / Version Control:  Practical limit in size?
« on: August 01, 2013, 01:32:49 am »
Is there a limit for how big EA repositories should be put under version control?
Our repository has 22.000+ elements. I don't know the actual size of it in the SQL server, but in XMI exports it is 500 Mb.
Now we plan to put it all under version control. Are there any size issues in that?

How do I include an external javascript library for my EA scripting?
(for instance JQuery)

I add a composite diagram to an object:
On a diagram: on an object: context menu -> ”New Child Diagram” -> ”Composite Structure Diagram” (or ”Select Composite Diagram).

If done from an activity in a BPMN process diagram, I can find this diagram by:
t_diagramobjects.Object_ID  -->  t_objects.DATA1  -->  t_diagrams

BUT: If done from a class in a class diagram, I can NOT find it.  How do I find the composite diagram in that case?

We are Building a web site from which we will be accessing the API (from Java).
This will easily create the scenario of concurrent calls to the same API instance.
Does the API support concurrent calls.
Has any of you tried this?

Secondly: Could I alternatively use the EA cloud server's http calls as an API from my own applications? - or does this only Work with the fat EA client?

For instance:
Generate an HTML report each night.
I have not found such, but is there some kind of scheduler in EA?
Or do I have to call the API's RunHTMLReport () from an outside application nightly?

I'm pretty sure, I will be embarrassed by this question  :-[ – because this function must be there somewhere in the EA object model – but I cannot find it:

When I have an element: How do I locate it in the project browser for the user (like when the user himself uses “find element in project browser”

What is the proper way to update my repository when changing an enumeration value in my MDG Technology?

For instance: I have changed an enumeration value from ”To-Be” to ”Tobe”. Lots of existing elements have a tag with the value “To-Be”. Their metatype + stereotype should still remain the same - but reflect the new enumeration on tags associated with this (as well as updating the obsolete values, of course).

What is the proper way to update all of my repository for this (in EA12)?

Is it correctly understood that even though the DocumentGenerator Class supports HTML file format, it is still just an HTML version of the RTF report?

In other words: it does not support the standard EA HTML report format with the TOC (with collapse/expand nodes) in the left side etc?

Is there another similar API or for coding an HTML report (with the same kind of control over which elements are documented in which order and in which structure / hierarchy) ?
(And which can gernerate diagrams with links, of course)

Automation Interface, Add-Ins and Tools / MDG - How to extend BPMN2.0 ?
« on: November 19, 2014, 10:18:51 pm »
I'm trying to extend BPMN2.0 in my own MDG  (still on EA 10).

I don't succed in using the MDG helper wizards - in the miscellaneous drop-down boxes I cannot choose from BPMN elements.

I have managed to extend the BPMN2.0::Activity like this without the MDG helper wizards:

Notice that the extended element (at top) is a stereotype element, not a metaclass element!
I tried to make use a metaclass element but have not succeeded in that.

Well, it creates a valid MDG, and it appears in my toolbox and I can use it on my diagrams. It also has all the BPMN2.0::Activity tags.

But problem:
1) When I add it to a diagram the usual auto-pop-up menu prompting the user for tasktype does not appear!
2) In the tags pane, the tags cannot be presented grouped in compartments - only alphabetically sorted!

Especially the first of the above two problems will be very unpopular among users.

So how do I create a proper MDG extension for BPMN2.0?

(I did see and check menroy's post, but it did not help me,

I can see, that I get a far better behaviour in BPMN in EA, if I add my own metamodel stuff by changing the original "BPMN 2.0 Technology.xml" file.

What are your experiences in adding new metadata directly to the "BPMN 2.0 Technology.xml" (or other MDG file)?

Of course, I will have more to manage whenever I upgrade to a new EA version. But I have not found any other solution to the problems mentioned in my previous post,

UPDATE: Sparx has acknowledged this as a bug.

In my MDG I hav created some stereotypes extending the Port metaclass.
When we use these stereotypes, the elements are not manually resizable - just like original Port elements.
However, unlike the original port elements, these elements do not resize automatically when we add exposed interfaces to them.
Is there a solution to this (e.g. can I make them manually resizable or auto-resizable somehow)?

I have created Stereotypes in MDG.
When I remove/change the stereotype on an element in my model, it looses the tagged values associated with the stereotype.
In the MDG I have derived stereotypes, e.g.:
ResourceObj specializes BusinessObj which specializes Obj which extends Class.
Obj carries the tags which are common for all aobjetcs etc.
My problem is, if a user changes/removes the stereotype on an element, all the tagged values are delted - and often the user wants to keep/transfer the tagged values.
Or maybe the user just removed the stereotype from the element by an accident.
Is there a way around this issue?
(In the old days, when I just used UML profiles (in EA v. 7), EA kept any old tagged values. That might leave some mess, but better for me to clean up via scripts, than loosing the tagged values)

Pages: 1 [2] 3