Author Topic: Find all Items that were deleted since the last baseline  (Read 1474 times)

fp123

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Find all Items that were deleted since the last baseline
« on: August 25, 2022, 11:18:54 pm »
Hi,

my Model is containing packages with requirements in them as a requirements spec. I am searching for an automated way to list all requirements that were deleted since the last baseline of that model document in form of a text to generate a history of that spec.
Via baseline comparison I tried the option "Show Elements that are In Baseline Only". With that option enabled EA lists all Objects that were deleted or had links (to other elements) that are now missing. That's close to the solution I am searching for. But this list can only be exported as a complex xml-file. This is not suitable to the needs of the users. Is there a possibillity to get a list that shows the deleted requirements like "Requirement 1: Name/Alias, Requirement 2: Name/Alias" and so on? Maybe via SQL search?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13283
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Find all Items that were deleted since the last baseline
« Reply #1 on: August 25, 2022, 11:56:40 pm »
You won't be able to get anything using an SQL search because the records that are missing are no longer in the database.

Your best option is probably to write some kind of script to convert the xml file into a useful format for your users.

Geert

fp123

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Find all Items that were deleted since the last baseline
« Reply #2 on: August 26, 2022, 06:10:36 pm »
I was hoping for a possibility to get access to the baseline data via EA. The baseline comparison does this already but there is no interface to search for details in the results.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13283
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Find all Items that were deleted since the last baseline
« Reply #3 on: August 26, 2022, 06:33:44 pm »
You can, but the baseline is basically an xmi file stored in the database.

Parsing that file is going to be a nightmare, and much worse than the alternative

Geert