Author Topic: MDG - QuickLink not working in EA16 after upgrading from EA13  (Read 1123 times)

Zeradius

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
MDG - QuickLink not working in EA16 after upgrading from EA13
« on: October 31, 2023, 07:36:11 pm »
Good day,

I recently upgraded to EA 16 from EA 13.

I created a MDG profile for my .eap database in version EA 13 and the controlflow worked 100% between two activities (activity:activity).

When I upgraded to EA 16 I no longer can create a ControlFlow between two Activities with the QuickLink function.

Here is my Quicklink entry in my .xml file for the mdg:

<QuickLink data="Activity,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Activity,,Decision,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Activity,,Synchronization_H,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Activity,,Synchronization_V,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Activity,,FinalActivity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Activity,,Action,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Decision,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Decision,,Action,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Decision,,Synchronization_H,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Decision,,Synchronization_V,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Decision,,FinalActivity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Synchronization_H,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Synchronization_H,,Decision,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Synchronization_V,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Synchronization_V,,Decision,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;InitialActivity,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;InitialActivity,,Decision,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;InitialActivity,,Synchronization_H,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;InitialActivity,,Synchronization_V,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Action,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Action,,Decision,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Action,,Synchronization_H,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;Action,,Synchronization_V,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#xA;"/>

Any help would be appreciated.

Thank you so much.

Kind Regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13087
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG - QuickLink not working in EA16 after upgrading from EA13
« Reply #1 on: October 31, 2023, 07:58:07 pm »
You can't override standar UML rules in an MDG.

This probably worked in version 13, not because of this quicklink entry, but because of a bug in EA that allowed Control flows between Activities.

If you want to be able to use Control flows between Activities, you'll have to define your own version of Activity (meaning your own stereotype).
Only then can you define the rules of which relations are valid between these elements.

Geert

BTW there is a much better mechanism available in V16 (metamodel constraints) to replace the deprecated quicklink csv.

Zeradius

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: MDG - QuickLink not working in EA16 after upgrading from EA13
« Reply #2 on: November 02, 2023, 11:46:08 pm »
I have defined my own type of Stereotypes for the activities with a different shape etc.

The stereotype I defined for a activity is called: Activity - Funct & Feat

How would I update the Quicklink entry to reflect this?

Activity,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#

We still have users using older version of Enterprise Architect and I would like a solution that can work on all the versions.

Thank you for your help.

Regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13087
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG - QuickLink not working in EA16 after upgrading from EA13
« Reply #3 on: November 03, 2023, 12:09:34 am »
I have defined my own type of Stereotypes for the activities with a different shape etc.

The stereotype I defined for a activity is called: Activity - Funct & Feat

How would I update the Quicklink entry to reflect this?

Activity,,Activity,,,,,ControlFlow,,Directed,,,TRUE,,TRUE,,,0,,,,,0&#

We still have users using older version of Enterprise Architect and I would like a solution that can work on all the versions.

Thank you for your help.

Regards
I'm sorry I can't help you with that. I'm trying to erase all memories of the horrors of the quicklink CSV.

I guess you'll need to specify the fully qualified stereotype in the quicklink CSV somehow.

Geert