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

Pages: 1 [2]
Uml Process / Describe questionnaire algorithm in UML
« on: January 04, 2021, 10:14:52 am »
Hello, EA Experts,

I need your input on the right way to describe a questionnaire in UML. I am trying to model a questionnaire that includes multiple sections as below:

Each section is modeled as a class and questions and answers are modeled as Enumeration (in case of multiple-choice questions) or Data Type (in case of free text questions) as below:

Is this the right way to do it?

I hope that I have not confused (I feel I might have done so) between modeling the questionnaire at the abstract level (the type of question and types of answers, multiple-choice vs free text) and modeling it at the object/instance level where I state the specific Questions and Answers in each section.

Thank you so much,

Automation Interface, Add-Ins and Tools / Generate Python code from package
« on: December 30, 2020, 08:08:31 am »
Hello, EA experts,

I am trying to generate a Python code from a package but I faced 2 issues.

Question 1: how can I make the model generates the code in Python?

When I go to
Start > Desktop > Preferences > Preferences > Source Code Engineering > <language name>
Configure > Model > Options > Source Code Engineering > <language name>

I do not see an option to select Python (Please see the screenshot)

Question 2: when I go to Develop > Source Code > Generate > Generate All

I do not see all the classes under the package, listed in the dialogue box. Did I do something wrong? (Please see the screenshot)

Thank you so much!

Automation Interface, Add-Ins and Tools / Roadmap Diagram Options
« on: December 29, 2020, 09:24:44 am »
Hello, EA Experts,

I am trying to edit the Strategy map model available in EA but I am unable to edit the time.

I am unable to set the date between 23/07/2020 and 30/7/2021

When I pick "Custom" from the "Units" dropdown menu, I am unable to add any special character to separate the day, month and year

Thank you,

Hello, EA experts

I am trying to import/export (from and to Excel) the "Initial Value" field under "Attributes (among other fields of course). I am using this field to show a range of values (as shown in the screenshot)

How can I import/export the "Initial Value" field?

This does not seem to be possible using Bellekens tool and I tried to do so using MDG Integration for Office but I failed.

Thank you in advance.

Suggestions and Requests / User Guide for MDG for Microsoft Office
« on: December 28, 2020, 03:44:36 pm »

I am new to Sparx EA. The main reason that let me go with the ultimate edition is the MDG Integration for Microsoft Office. So far, I have been unable to use the MDG for Microsoft Office, specifically Excel import/export. I have been using Bellekens' tool instead.

I don't seem to continue with the same edition next year or even recommend it to my organization.

I watched the 17-min video that introduces MDG Integration for Microsoft Office, but it is not enough.

I think it would be helpful to have a detailed User Guide for MDG for Microsoft Office and more video tutorials.

I have to say that I am disappointed.

Thank you,

Automation Interface, Add-Ins and Tools / Export attributes to CSV
« on: December 28, 2020, 06:45:19 am »
Hello, EA Experts,

I am trying to export a package that includes data types with attributes and stereotypes (shown in the screenshot)

I could not find "Attribute" in the "Available Element Field", does that mean I cannot export attributes to CSV?

Thank you,

Hello, EA experts,

I managed to import data from Excel to EA using Bellekens tool but I could not figure out how to export.

I get this error when I try to export.

I would appreciate your help.

Uml Process / How to add units of measure to attributes in UML
« on: December 21, 2020, 06:04:40 pm »
Hello EA Experts,

I have a class with attributes such as:
-Blood Sugrar Level

How can I add units of measure to these 3 attributes?
- ft and inch
- lb
- mg/dL (milligrams per decilitre)

Thank you.


I tried to edit the elements' names of a pre-loaded DMN pattern. When I tried to run the simulation, I got this error message.

Error: missing ) in parenthetical

How can I avoid getting this message? and what is the right way to edit the names of an existing pattern elements without breaking the model?

Thank you.

Uml Process / Import columns from Excel to EA as attributes
« on: December 09, 2020, 01:58:42 pm »
Hello, EA Experts,

I managed to import the below Excel table

But I need help to import columns A and B as attributes, please see below:

Thank you!

Uml Process / Sync Excel and EA
« on: December 09, 2020, 01:51:03 pm »
Hello, EA experts,

I can import Excel to EA but after importing, how can I sync EA with the changes made to the Excel sheet?

Thank you so much!

Uml Process / Two elements with the same name and type in the model
« on: December 07, 2020, 11:32:09 am »
Hello Sparx EA experts,

I have a package that includes an element (class) named "ABC". I created a new package and created a new element (class) and named it "ABC".

I was expecting that Sparx EA would warn me that the model has an element with the same name and that I sould not create an element with the same name of an existing one.

I used to get such notification by default when I was using another modeling tool. Do I need to make any settings to receive such notification? Isn't this how the model should work, no 2 elements with the same type and same name are allowed?

Thank you.

Uml Process / Show class attributes
« on: December 02, 2020, 08:51:19 am »
Hello members,

I need your help please to figure out how to show the attributes of a class.

In the diagram attached, I copied a class that has a number of attributes. The copied class does not show those attributes. I edited those attributes but I could not show them on the diagram. I can see them in the project browser but not in the class on the diagram.

I used compartment visibility and I checked attributes but that did not work.

Also, how can I add more attributes to the class.

Thank you,

P.S: I am not sure why I am unable to attach an image to my message?

Modeling and linking questions of questionnaire and items of a report

Hello, Sparx EA users and experts,

I am new to Sparx and the forum, and I would really appreciate your help.

I have a questionnaire that has 8 categories. Each category has 5-10 questions. Then, I have a health report that includes 7 sections, and each section includes 5-10 items.

How can I communicate and show the link/dependency/relationship between the answer of specific questions and report items? For example:

Question "A" might be "have any of your first-degree family members had strokes?", The user would be given multiple choices: Yes, No, I don't know (I think they could be modeled as enumeration).

Question "B" might be "how frequently do you exercise weekly?". The user would be given multiple choices: 1,2,3,4,5,6,7, none (I think they could also be modeled as enumeration)

A report item#1 is "Your risk of having a stroke is X% based on your answers to question "A" and "B"

How can I model/show the relationship between question A, question B, and report item#1

Thank you so much in advance for your help.

P.S: I tried to upload the logical data model I have, but I was not given an option to add an attachment

Pages: 1 [2]