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 - Pawel Zubkiewicz

Pages: [1] 2
General Board / Traceability matrix to/from Class atributes/operations
« on: August 22, 2016, 09:25:10 pm »

I would like to show in traceablity matrix which class attributes and operations are used by different UseCases. However in Relationship Matrix I can only display elements located in given package. Is is possible to go one level deeper into "sub-elements"?

Also, if it's not possible to realize my idea, I'm open to your suggestion how I can document that. I already have class element with attributes and operations defined.

PS. I just checked. I can drag and drop class operation element on diagram, it is of type Action. So it's perfectly legal to add a relationship to/from it. Question is, how to show that in Relationship Matrix.

Hi All,

Once again I stumbled upon a problem.
I wrote a script that generates RTF document, everything works great except one detail: Header & Footer are missing in generated file.

I have them templates (logo and page number) but they are not present in generated file.

Basically my  script is invoked from context menu on diagram OnDiagramScript(); listener function.
Then I get list of all elements on diagram and generate the file
more or less like that:
Code: [Select]
            var docGenerator = Repository.CreateDocumentGenerator();
            if (docGenerator.NewDocument("")) {
                documentCoverPage(docGenerator, elements);
                docGenerator.SaveDocument(FILENAME, DocxType);
                Session.Prompt("Document successfully generated", promptOK);
Code: [Select]
            documentCoverPage = function (docGenerator, elements) {
            docGenerator.DocumentPackage(packageId, 0,TEMPLATE_COVER_PAGE);
            var documentChanges = filterElements(elements, "Change");
            for (var i = 0; i < documentChanges.length; i++) {
                var change = documentChanges[i];
                docGenerator.DocumentElement(change.ElementID, 0, TEMPLATE_CHANGE_HISTORY);
Generaly I don't do anything special.. the only difference is that everything is started and generated in script, not from F8 / Generate Documentation functionality.

Did you guys have problems like that?
Any idea on how to fix it will be appreciated :-)

Hi All :-)

Do you know if it's possible to change diagram property: Use Alias if available from a (J)Script?
If yes, how?

Hi all,

Once again, seeking your advise. I created simple script that creates number of elements and puts them on the diagram. Now I wonder whether it's possible to add LinkedDocument to one of those newly created elements. I have predefined template for LinkedDocument.

In API docs at I see only 4 methods that operate with LinkdedDocuments.
  • GetLinkedDocument() -If the element contains no linked document, an empty string is returned.
  • LoadLinkedDocument(string Filename) - Notes: Loads the document from the specified file into the element's linked document
  • SaveLinkedDocument(string Filename) -Notes: Saves the linked document for this element to the specified file. Returns False if the element does not have a Linked document or fails to save the file.
  • DeleteLinkedDocument()

Looks like neither of them is useful for me right now.

Do you know any way to add linkeddocument to an element?

In theory, I could use LoadLinkedDocument and load docx from drive but it looks like very fragile solution... everyone would need to have the same file at the same location on his/her computer.


I'm wondering whether it is possible to find a Package via sql query and make EA recognize it as a Package in document template with all sections?

I have a fragment template and in custom query I've got this simple SQL for testing purpose:
Code: [Select]
SELECT t_package.ea_guid as CLASSGUID
from t_package
where t_package.ea_guid='{F3425580-C5F4-44f7-9F1D-0ED8F3CCB5D0}';

When I execute document generation of this fragment:
Code: [Select]
package >
diagram >
< diagram
child packages >
< child packages
< package
custom >
< custom

Only the part inside 'custom' tag is evaluated, the rest is ignored.

Is is possible to return via SQL a "full" Package so it will be evaluated with all its contents by the template?

Bugs and Issues / MySQL DB migration problem
« on: March 09, 2016, 08:01:22 pm »

I've got repository on MySQL db and I need to move it on another computer.
I've exported whole DB using MySQL Workbench to SQL file (structure and data). Then, I imported it into new instance of MySQL db on another computer. Everything worked ok, there are tables, data etc.

When I try to connect to the repo from EA I get this error message "There does not appear to be a model in this repository".

What should I do? Any idea how should I export/import the database?

General Board / Transitive relelations (Business Rules Management)
« on: August 26, 2015, 12:26:37 am »

I'm asking for your suggestions on how to organize management or "create views" (it's hard to name this properly) for elements that have transitive relationships.

My IT system is composed of 15 Modules. Each Module has from 3 to 6 Components.
- Each Component can be assigned to only one module (so it's a tree not a matrix).
- Each component can have many Business Rules assigned to it. Each business rule can be assigned to as many components as you please (so Component - Business Rule relation can be presented as a matrix)


Now I want a nice way of dealing with this, I would prefer more tabular / matrix way of working with those elements than diagram oriented because there is simply to many of them.

I know that I can use Reletionship Matrix (which is great) but I need to have option to filter by transitive relationships. In other words:
I want easy solution to see list all Business Rules assigned to all components that belong to for example Module 1.

Without the need to create every time new diagram and using Insert related elements...
Any suggestions?

General Board / Import of (updated) BPMN 2 models
« on: August 26, 2015, 05:32:55 pm »

I wonder if it is possible to import BPMN 2 model (exported from Aris) multiple times in a way that EA would recognize what was already imported and just update existing elements and not create new ones. Do you know if that's possible?

Detailed description:
- There is a Unit in my company dedicated to do "Business Process Modeling" they use Aris to model in BPMN 2
- There is "my" unit which does Systems Analysis and design in EA

We want to import from Aris some of the models into EA every time they are changed in Aris.
So what I do:
1. Import into EA Aris model for a first time. Let's call it Version 1 - this works great.
2. There are changes in Aris model, so new export file is generated (in BPMN 2 XML format). Let's call it Version 2
3. I import the Version 2 into EA.
4. EA creates new package for Version 2 in EA repo. It does not recognize that most of the elements already exists since they were created during import of Version 1.

Is it possible to make EA update "Version 1" elements during import of "Version 2"?

PS. When I use import BPMN 2, on a dialog window there is option "Strip GUIDs" which is selected and read only by default. Why? I feel this could be a reason that EA is creating new elements every time.

General Board / Cloud Services questions
« on: July 28, 2015, 10:31:11 pm »

I'm preparing a demo/evaluation setup of Enterprise Architect for IT unit at my company, to "finally" convince management that EA is best option for us.

I have experience with previous versions of EA (mostly 9 and 10) but I have never worked with Cloud Services. I read but some particular things are still not clear for me.
Could you please answer my questions:
1. How much Cloud Services cost ? Are they for "free" when you bought EA licenses? If yes, which of them?

Also, one of the features of Cloud Services is "Re-usable Asset Service".
2. Does RAS allows for easy document template sharing? As far as I know/remember document templates are locally stored (which is serious drawback in my opinion)
3. Does RAS allows sharing common elements between projects?
Let's say I have two or more systems that work in the same domain. Those systems have common: requirements, business rules, business processes, etc. Of course those systems also have specific requirements, rules, and many other properties and they are developed as separate projects by separate teams. Will there be any value added in using CS/RAS in comparison to "plain" repository in SVN/database?

Thanks in advance

General Board / Recursive "undo check out"
« on: March 25, 2015, 02:28:18 am »

Any idea how I can revert local changes in my project with version stored in (SVN) repository on a branch?

There is "Undo Check out..." option in Package Control context menu. Unfortunately it only works on one level, it does not work on subpackages.

I tried to write a script to automate this, but i dont see method for this in EA.Package class there are however all other methods  for version control >:(

Any Idea what I can do?

General Board / BPMN process diagram validation
« on: March 20, 2015, 11:13:15 pm »

Is there a way to validate syntactical correctness of BPMN process diagram?

I'm using EA12.

Uml Process / EA does not update link names in Notes
« on: September 17, 2015, 12:57:16 am »

In Notes field of any element I can create a link to existing element (Create -> Link to Existing Element). However when I rename the target element, the link text is not updated in the Notes field.
Is there a way to force EA to update those referenced names?

And another question: when I'm describing pre-conditions for use case I would love to refer (create a link ) to particular value of ENUM class - is that possible?

Maybe, I'm missing one layer of UML modelling here? I know I could use StateMachine diagram and define different states, after all ENUM could be considered as implementation of StatMachine... but creating StateMachines for each ENUM seems like a overkill for many cases.
I did StateMachines for so called Focal Objects in the domain, because main business process is build upon those states, but those are first-class citizens of the domain, not some supplementary, minor, trivial objects  ;D

Any suggestions what to do?

Automation Interface, Add-Ins and Tools / Template for UseCase
« on: September 22, 2015, 09:29:12 pm »

I'm designing template for UseCases. I'm using Structered Scenario thing and I like it very much from desinger perspective. However from template reports perspective it's not so excellent.

So I have this structure of sections: Package -> Element -> Scenario -> Structured Scenario -> Exception.

This allows me to generate document with each step of the use case scenario. Also last exception section allows me to put information about alternative flow for that step but only in "basic path" main scenario.
When template evaluates alternative scenario called "Invalid e-mail address" I can't figure out how to put information about where this scenario starts and when joins back main scenario.

What I want to achieve in generated document with similar structure:
Code: [Select]
Header: Main scenario: ABC
1. Step 1
2. Step 2, Alternative 2a - alternative scenario XYZ - joins at 1.
3. Step 3

Header: alternative scenario XYZ
This scenario starts at step 2 of main scenario and joins back at step 1.
1. Step 1
2. Step 2
3. Step 3
4. Step 4

I managed to have everyting except This scenario starts at step 2 of main scenario and joins back at step 1. sentence in alternative scenario sub-chapter.

I tried to approach this witch custom Fragment, but (to my surprise) EA does not allow me to insert fragment inside Scenario section. (I can insert any fragment inside Element section though).

Any help will be appreciated  8-)

Automation Interface, Add-Ins and Tools / ERA Addin
« on: September 14, 2015, 09:32:23 pm »

Recently I dedicated some on my free time to develop an EA Addin.
It is called Enhanced Requirement Attributes (ERA) and its goal is to streamline and improve Business Analysis by adding new custom Properties Window for element type of Requirement.

The idea is to enhance default Properties Window with some additional attributes which are used to fully describe Requirement. In an example below you can see this custom properties window with sample Requirement.

Some of the fields are ordinary element's attributes like:
  • ID is Alias of element
  • Title is Name of element
  • Description is Notes of element
  • and so on.

While other, additional attributes are technically stored as element's TaggedValues:
  • Justification
  • FitCriteria
  • Source
  • Urgency
The selection of those additional attributes was not accidental. Actually this is a mix of attributes, inspired by BABOK and Volere frameworks/methodologies.

The addin is (will be) distributed as freeware so anyone can benefit from it.

The install file can be found here - it contains installer and xml template for generating PDF/Word documentation.
The example EA project file can be downloaded here (it already has template inside)

I'd be very greatful for feedback. So if someone has some 15 minutes to spare or works with requirements in EA and is interested in this particular field, please test it and tell me what you think.

I can't wait to hear your opinion :-)

Automation Interface, Add-Ins and Tools / Export of custom template
« on: September 04, 2015, 09:18:42 pm »

Is there a way to export (and later import in other project) a custom template? I have my project in MySQL repository.

I don't see any useful menu for that in Resources view.

Pages: [1] 2