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 - Mats Gejnevall

Pages: [1] 2
Bugs and Issues / Avoiding deleting elements in use
« on: December 14, 2017, 03:25:00 am »
Hi all
I want to clean up my database of elements not in use. I use the Find orphan function and it lists a lot of elements not in use. But many of them are used in my information flows. Is there a way of detecting which orphaned elements are used in information flows? Or is there a configuration where they would not show up in that list?

Thanks Mats

Bugs and Issues / Compartments and instances
« on: December 14, 2017, 03:13:52 am »
Hi all
I am using compartments a lot to show relationships. But when I have relations between an element and an instance of an element I have a problem. But just in one direction. Element to instance works fine with some shape scripting, but when I want to see the relations of the element that has relations to the instances of it in the compartment of that element, it does not work.

Example: I have more than one firewall in my diagram. I create instances of that firewall and connect these instances to networks. When I use compartments to show which firewalls these networks are using it works fine, but when I want to see what networks the firewall element is connected to I get no information. I assume it is because the instance and element are different database entries.

Any solutions?


Hi all
Is it possible to export everything in a package including related elements in other packages and move them to another EA respository? I have created a more detailed set of models in this repository but I do not want them there long term. Would the packages of the related elements also be included in such an export?


Bugs and Issues / Changing property on multiple elements
« on: September 06, 2017, 05:37:30 pm »
Is there any way to change a property on a set of selected elements? I know it can be done by CSV export and import, but any other way?

We are using Decorations and relatedElements for all the elements in our MDG. But when the size of some the diagrams increased, the time to save a diagram went up to 30 seconds for .EAP and 90 seconds for a database save.

Has anyone else encountered this and were you able to solve it, instead of creating smaller diagrams? About 60 elements in these diagrams!


Bugs and Issues / Using instances in compartments
« on: April 05, 2017, 12:05:53 am »
I create instances with the same stereotype as the original element. And I use compartments to show relations between elements. When I create a relation between an element and an instance (where I have defined that the sterotypes have a relation) and display this relation in a compartment (using a RelatedElement shape script)  the object number of the instance is displayed instead of the name of the instance!

Is this a bug or a feature?


Suggestions and Requests / Use sterotype name when creating element
« on: March 30, 2017, 12:26:33 am »
I have created a MDG with a number of stereotyped elements, most of them are based on Class. When I drag and drop them from the toolbox, they are are given the name Class + a number. I assume there is a way of configuring the sterotype to use the name of it instead of the UML metaclass. But I have not been able to find it.

Can someone give me a hit (or a link to where this is described)?


Suggestions and Requests / Conveyed items & SQL
« on: March 17, 2017, 08:35:49 pm »
This code works to get a list source and target applications and the information that flows between them (from the InformationFlow relation) and the mechanism used to communicate (integrate) the appplications (tag on InformationFlow). I have used it from excel and it works fine. But when I use it from SPARX it does not find the dbo.split function.
I do have the code for the dbo.split (from internet), but I do not know to include it in the SPARX SQL window. Anyone knows???

Code: [Select]
SELECT AS Source ,
        source.stereotype AS Source_Stereotype , AS Target ,
        target.stereotype AS Target_Stereotype ,
        ISNULL(ct.Value, '') AS IntegrationDescription
, Information
FROM    ( SELECT    Behavior ,
                    Client ,
                    d.s Description
          FROM      t_xref x1
                    CROSS APPLY dbo.split(',', x1.description) d
          WHERE     x1.Behavior = 'Conveyed'
        ) x
JOIN t_object o ON x.Description=o.ea_guid
        JOIN dbo.t_connector c ON c.ea_guid=x.Client
JOIN dbo.t_object source  ON c.Start_Object_ID=source.Object_ID
JOIN dbo.t_object target ON c.End_Object_ID=target.Object_ID
        LEFT OUTER JOIN dbo.t_connectortag ct ON c.Connector_ID=ct.ElementID
WHERE   x.Behavior = 'conveyed'
        AND c.end_object_id = target.object_id
        AND source.stereotype != 'Process'
        AND target.stereotype != 'Process';

dbo.split from
Code: [Select]
    @String NVARCHAR(4000),
    @Delimiter NCHAR(1)
    WITH Split(stpos,endpos)
        SELECT 0 AS stpos, CHARINDEX(@Delimiter,@String) AS endpos
        UNION ALL
        SELECT endpos+1, CHARINDEX(@Delimiter,@String,endpos+1)
            FROM Split
            WHERE endpos > 0
        'Data' = SUBSTRING(@String,stpos,COALESCE(NULLIF(endpos,0),LEN(@String)+1)-stpos)
    FROM Split

I have added a TAG to my InformationFlow sterotype and added the InformationFlow to my toolbox. When I use it from the toolbox the TAG is created, but not when I use it directly (QL) in the diagram. It picks up InformationFlow from my QL file correctly, but not the TAG.

Do I need to do something in my QuickLink file to make it work?


Suggestions and Requests / Macro execution
« on: February 01, 2017, 02:14:46 am »
I founds some great macros that I really could use, like find & replace the sterotypes of a lot of my connections. But I could not find any description on how to execute the macros.

Any pointers? 


Suggestions and Requests / Dual decorations when switching MDG
« on: January 28, 2017, 12:55:02 am »
I just had to change MDG from Archimate to my own since compartments does not work in Archimate. I exported my elements to a csv file, changed the Archimate sterotypes to my sterotypes and imported. I worked fine, but one problem occured. Now my elements have both the Archimate decoration and my decorations in the top right hand corner (NE).

Does anyone know how to remove the Archimate decoration? The alternative is to import my elements as new, but I have a lot of relations between the current elements and it would be a big job to redo them!!!!

Thanks for any help!!!

I use the Information Flows to model integrations between applications and include what information is passed on (conveyed items) between the applications.

I want to be able to find all diagrams where a particular conveyed information item is used so I find all integrations where it is involved, but have found not way so far to do that. I use it as a way to consolidate my integrations.

I also want find out what integration mechanisms are used. The same thing appplies, how can I find all informataion flows where a mechanism is used. There are two ways of documentet this that I know about; 1)  tagged values but it will not give me the tracebility to the information flows or 2) dependencies between the informationflow and a Component which models the integration mechanism. The last one works ok, but messes up my models since it takes a lot of space.
I also use this to consolidate my integrations!! Any suggestions of other ways of doing this?

Suggestions and Requests / Label position in shape
« on: January 05, 2017, 03:44:44 am »
I have created a decoration in my shape. But the label of the element overrights the shape when there are long label names. I would like to be able to move the label printing down a few lines. I am using the Class element as a base for my shape. Must I create my totally own shape to be successful?

Suggestions and Requests / Filter by dependency
« on: January 05, 2017, 03:38:29 am »
I love the filter by dependency function. We use it to show what processes are using which applications and what infrastructure is used by which applications. It works wonders in presentations. But when we expanded our architecture models to process models and application collaboration models, it does not look that great any more. The information flows between processes and between applications are also shown when I filter.

I would like to be able to select which relations I filter on in the relationship filter. There seems to be a box there in V17, but you cannot enter anything into it; like a sterotype name or relationships name (e.g. dependency).


General Board / RelatedElement and diagram properties
« on: June 21, 2016, 09:33:51 pm »
I cannot get "if(hasProperty("diagram.stereotype",""))" to work in a RelatedElement shape script. I want to have different compartments controlled from the stereotype of the diagram.

I works in main(), but not in RelatedElement ().  Bug or feature?

Any ideas?


Pages: [1] 2