Book a Demo

Author Topic: Differing sets of links within one set of objects  (Read 4151 times)

Martinigue

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
  • BlackBerry is a lifestyle
    • View Profile
Differing sets of links within one set of objects
« on: September 10, 2013, 10:40:08 pm »
Hi EA folks,

a colleague of mine asked me how he might have one set of states inside a package together with a couple of state machines (diagrams, linking the same elements differentlz each time). My anser was no way, you only have to have a dedicated set of elements for each diagram. But then I thought that things might have changed and therefore I am asking you; is there a better way these days?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Differing sets of links within one set of obje
« Reply #1 on: September 10, 2013, 11:31:00 pm »
You can, you can just drag any state on a state diagram, regardless of its origin, but it certainly wouldn't be the recommended way of working.

Geert

Martinigue

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
  • BlackBerry is a lifestyle
    • View Profile
Re: Differing sets of links within one set of obje
« Reply #2 on: September 10, 2013, 11:41:10 pm »
Thanks Geert. Well, the point is = having some twelve states defined, how to go about creating three different sate machines where on each the states transition differently?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Differing sets of links within one set of obje
« Reply #3 on: September 11, 2013, 09:33:02 am »
Surely if a state is part of a different behavior it's a different state?

The only exception I can think of is if you have a submachine. (In which case you declare the state under a statemachine and then define a submachine state inside another statemachine that references it.) The transitions from the state are still identical, but it can be used as part of a larger machine.

Martinigue

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
  • BlackBerry is a lifestyle
    • View Profile
Re: Differing sets of links within one set of obje
« Reply #4 on: September 11, 2013, 03:48:25 pm »
SImon, not sure how this would work but anyway you both have reassured me that it really is best to keep your state machines (and their respective sates) unique and separate. Thanks, guys!