Book a Demo

Author Topic: Modification status of Package  (Read 3723 times)

Dmitry_M

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Modification status of Package
« on: September 12, 2017, 07:03:30 am »
Dear Colleagues,
In EA we can control element's modification status by reading value of the field "Modified", but Packeges don't have this attribute. How can we define whether a Package was changed or not?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Modification status of Package
« Reply #1 on: September 12, 2017, 09:55:10 am »
Look into Package.Element which holds the time stamp. It looks like the stamp is only changed on modification of the package itself, not when you manipulate its contents. If you are after that you need to look into the audit (after you have turned it on).

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Modification status of Package
« Reply #2 on: September 12, 2017, 10:08:06 am »
Unclear on what you mean as according to the user guide both element and package have modified field. If you look at the properties via the Sparx EA UI you'll also see the modified field. If you look at the tables t_object and t_package they have a field called modified too.

See the user guide for more info;
http://sparxsystems.com/enterprise_architect_user_guide/13.5/automation/element2.html
http://sparxsystems.com/enterprise_architect_user_guide/13.5/automation/package_2.html

The only thing I can think of is that you are possibly using the the wrong object type in your code so perhaps give that another check.

Hope that helps. :)
Happy to help
:)