Book a Demo

Author Topic: Change of stereotype to "Functional"  (Read 17281 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Change of stereotype to "Functional"
« on: October 26, 2018, 07:01:15 pm »
This is such a simple issue, I can't believe it's not been asked already.
When I create a Requirement, Risk or a few other element types in EA, they correctly have no stereotype.
When I then edit the notes (or edit any other standard field) of one of these elements, EA makes the stereotype into 'Functional'.
Does anyone else see this? It's been going on for several releases now, and I reported it a while back to @Sparx, but no action.
If this is reproduceable elsewhere, this is a serious bug - EA is changing my data without asking. If I don't give my elements a stereotype, it's because I don't want them to have one.
Does anyone else see this ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #1 on: October 26, 2018, 08:25:31 pm »
Aaawww, that's EA. The "Type" in the requirements is the stereotype. But not alone. It has some magic spice that EA digests. I just stumbled over that. When you put "Issue" in the stereotype it will make a Requirement into an Issue. Somehow it changes the display in browser. Not going to investigate that in detail. I would recommend to not use the "standard" requirements/issues etc. from EA's profile since it's Sparxian. Make your own in your MDG (I just had my new MDG not working while I was fiddling with the defaults).

q.

matthew.james

  • EA User
  • **
  • Posts: 155
  • Karma: +8/-3
  • Am I supposed to say something here ... ?
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #2 on: October 29, 2018, 09:19:17 am »
I would recommend to not use the "standard" requirements/issues etc. from EA's profile since it's Sparxian. Make your own in your MDG.

Whilst I think it is amazing to have a product that is so extensible, both in terms of scripting / automation and meta-model extension, and the support from this forum (several key participants in particular) is amazing ... it is getting somewhat depressing how often the advice takes the form of:
"Oh that feature doesn't really work and doesn't appear to be getting fixed anytime soon, here are some ideas on how you can build your own solution instead"

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #3 on: October 29, 2018, 10:26:43 am »
"Oh that feature doesn't really work and doesn't appear to be getting fixed anytime soon, here are some ideas on how you can build your own solution instead"

It works, but there are always differing views on how people would like it to work. There are also people here that seem to enjoy complaining.

The 'Type' field for any requirement like type is implemented using stereotypes. They are most useful when used with a profile that provides additional fields for each type. But there is also a model wide list of requirement types that act like a simple profile for those that don't want to build a profile (or use a built-in one like SysML)

The idea is that without a type, a requirement is like an abstract metaclass.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #4 on: October 29, 2018, 12:02:04 pm »
I don't enjoy complaining. Not at all. I'd enjoy to have no reason for complaining.

I know: fake news and witch hunt...

q.

matthew.james

  • EA User
  • **
  • Posts: 155
  • Karma: +8/-3
  • Am I supposed to say something here ... ?
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #5 on: October 29, 2018, 01:15:03 pm »
... there are always differing views on how people would like it to work.

Simon - I hear you. The more complicated a product, the harder it is to meet everyone's needs.
I'll admit that I'm probably not a typical use case for Sparx (EA, Archimate vs Code engineering, UML, SYSML). However in the less than 6 months I've been using the product I have found I repeatedly run into things that don't work the way I want (I'm a problem user) or just simply don't work in any way that could be considered reasonable.  At which point I hit the 'raise a bug' challenge and subsequent black hole (sorry - I know managing a product like Sparx is not simple, just giving a user perspective).

But, back to the issue at hand, when you made the statement 'it works' were you referring specifically the challenge originally raised in this post by Ian?
Are you able to explain whether the behaviour Ian is seeing is correct and expected? If so it would perhaps be useful to understand the use case for the behaviour and how Ian could / should be using the elements.
If not, is it a bug? Do you know if there are any plans to resolve it? Do you have any alternatives to suggest for Ian?

Thanks

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #6 on: October 29, 2018, 04:15:17 pm »
This isn't a new issue. I've seen it reported/discussed/etc many times over the years. But in my opinion it's not wrong.

I would say that EA's implementation of a Requirement is that it has a 1..* relationship to Requirement Type.

As a result, any requirement without a requirement type is incomplete. There are many ways to manage this, and none of them are going to satisfy everyone.

The dialog automatically fills the type during load to ensure it is complete. The user then presses 'save' which writes the value being displayed.

I would personally recommend that Ian accepts that the requirement will have a stereotype. (from the 1..*) relationship above and use it how it's intended to be used.

Regarding your personal issues. If I've searched our system correctly I can see a mix of issues that have been confirmed but not yet fixed, fixed or considered not a bug. (Including at least one "bug report" for behavior that if changed would break existing diagrams for every ArchiMate user)


matthew.james

  • EA User
  • **
  • Posts: 155
  • Karma: +8/-3
  • Am I supposed to say something here ... ?
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #7 on: October 29, 2018, 04:47:41 pm »
I would personally recommend that Ian accepts that the requirement will have a stereotype. (from the 1..*) relationship above and use it how it's intended to be used.

I'll leave it to Ian to react / respond or otherwise to that as he is the one with the need.

Regarding your personal issues. If I've searched our system correctly I can see a mix of issues that have been confirmed but not yet fixed, fixed or considered not a bug. (Including at least one "bug report" for behavior that if changed would break existing diagrams for every ArchiMate user)

I'm not sure of your purpose in making this comment ... ? I'm happy to have a more in depth discussion about the issues I have raised (including why I think raising bug reports for incorrect behaviour is entirely valid whatever the consequences may be) as well as the ones I have just not bothered with. But perhaps in this forum, on someone else's topic, is not the right place.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #8 on: October 30, 2018, 07:49:01 am »
This isn't a new issue. I've seen it reported/discussed/etc many times over the years. But in my opinion it's not wrong.

I would say that EA's implementation of a Requirement is that it has a 1..* relationship to Requirement Type.

As a result, any requirement without a requirement type is incomplete. There are many ways to manage this, and none of them are going to satisfy everyone.

I don't have an issue with the way EA handles requirements.  I have an issue more with the fact that the methodology behind requirements management is ad hoc and doesn't match any industry norms.  I doubt I'm the only one who has had to add MOSCOW scoring to requirements more than once to keep BAs happy.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #9 on: October 30, 2018, 08:29:38 am »
Actually that's why (see my first post) I used my own flavor in a MDG. From my POV those requirement elements from EA should just be removed.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #10 on: October 30, 2018, 08:33:52 am »
This is such a simple issue, I can't believe it's not been asked already.
When I create a Requirement, Risk or a few other element types in EA, they correctly have no stereotype.
When I then edit the notes (or edit any other standard field) of one of these elements, EA makes the stereotype into 'Functional'.
Does anyone else see this? It's been going on for several releases now, and I reported it a while back to @Sparx, but no action.
If this is reproduceable elsewhere, this is a serious bug - EA is changing my data without asking. If I don't give my elements a stereotype, it's because I don't want them to have one.
Does anyone else see this ?

I don't want to get involved in any discussions of what is correct or incorrect behaviour, but if you use the modeless (docked) Element Properties window rather than the modal Properties dialog, EA doesn't overwrite the blank Stereotype field with "Functional". This could be a better way of working for you.
The Sparx Team
[email protected]

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #11 on: October 30, 2018, 09:33:28 am »
Actually that's why (see my first post) I used my own flavor in a MDG. From my POV those requirement elements from EA should just be removed.

I don't think it should be removed.  I think there are a bunch of the smaller technologies/MDGs that should be "crowd sourced" or have community enhancements harvested.

Plus if you moved these and the help files to %appdata% rather than %programfiles% you wouldn't lock in problems for users.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #12 on: October 31, 2018, 06:47:53 am »
I always was hoping Sparx would revamp those obscure properties (requirement's type is one of the most obscure ones here) and make it move to tagged values/profiles. This could be handled there in a sooo much smarter fashion. Partially they added things in new profiles but it seems like they starved half of the way.

q.

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #13 on: October 31, 2018, 08:59:15 pm »
Thanks for all the learned replies.
I'd like to respectfully disagree with the Sparx implementation.
- an un-stereotyped requirement is just that - I have captured it, and have not yet decided if it's Function, Non-functional, or something else. So having EA make-up data which I didn't add is just not polite.
- a work-around which involves using the UI in a slightly different way - which is what I think Simon is suggesting - really isn't cricket. It just makes it worse!
- and why 'Functional' - if i'm collecting 'non-functionals', this just confuses my users.
- if the EA implementation really does insist that all requirements must have a type, and that the default is 'Functional', then pre-fill the type to be 'Functional' when my users create them.
At the moment, they drop requirements onto a diagram, fill-in the name, then go on to the next one. Then, when they come back and add some notes, it changes type from (blank) to 'Functional' - they find this confusing. I'm trying hard to get them to categorize Requirements correctly, but as with other bits of models, 'no data' means 'I haven't decided yet'. Like the multiplicity between two classes: no data means 'don't know yet'. EA doesn't add '*..0' to every connector - quite right.

So a Requirement with no stereotype means 'don't know yet', and is useful information for me.

So what I see in the model is requirements with
no stereotype. I take this to mean 'haven't decided yet) - OK
- 'Functional' - might mean - ' I have chosen a Functional stereotype' OR 'I edited the notes, and 'Functional' just got added, but I really haven't decided yet'
In the view of my users, this is just a bad user experience. 
Whether the EA approach is "right" or "wrong", it's confusing to new users. And they will be keeping me, and Sparx, in future business, so they really matter!

And cheer-up Q - you might have to use Viseo, then you'd REALLY complain...:-)


Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change of stereotype to "Functional"
« Reply #14 on: October 31, 2018, 09:25:45 pm »
Well, as said: use a hammer where appropriate. EA for UML (they can do more and better here and drop lots of non-UML things), Visio for drawing (and one should not think that it's a UML modeling tool just that they can draw shapes that look like UML).

q.