Book a Demo

Author Topic: Deep copy of information flow  (Read 3674 times)

johnm9

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Deep copy of information flow
« on: June 05, 2008, 12:37:08 pm »
Can deep copy information flow include its information items?

I have two state machines where I have added an information item between their substates.

When I deep copy the two machines, the information flows are created but its information item is empy while the original one is not.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Deep copy of information flow
« Reply #1 on: June 05, 2008, 09:46:08 pm »
So it looks like this won't work.

Try exporting to XMI and importing back to the target. Remember to strip GUIDs or you'll get two references to identical elements (which would be a disaster to your project).

Remember that XMI transfers are done at the package level, so you'll have to transfer the entire package. This also means that if any of the items you copy are references to external elements - not resident in the package you transfer or a descendant thereof - you will get a reference to the same external element in the copy. [That would probably be the desired result here, but be aware of this in case you intend otherwise.]

David
No, you can't have it!