Book a Demo

Author Topic: Restrict use of Status Attribute for Stereotypes in MDG Tech  (Read 2101 times)

wzr

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Hello,

I would like to restrict the available options for the Status attribute of Elements wich are defined as Stereotypes in our MDG Technology.
What is a good way to do that? Maybe stereotype constraints (I couldnt find documentation or examples how to define them)?

Most of our stereotypes have the same status life cycle but some are different.
So first of all I would like to reduce the selectable status values of a stereotype.
In the next step I would like to define constraints for status changes.
Any suggestions to do that?

Thank you!


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Restrict use of Status Attribute for Stereotypes in MDG Tech
« Reply #1 on: May 19, 2022, 06:02:02 am »
You'll probably better off defining your own status property.
With an enumeration you can define the possible values.

With regards to the status changes, that's something you'll have to catch and handle using an add-in.

Geert