Book a Demo

Author Topic: Get a list of all use cases  (Read 2719 times)

brumblue

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Get a list of all use cases
« on: June 15, 2010, 04:35:06 am »
hi, what's the easiest way to get a list of all use cases in a project. Ideally not a report but a browse-able list where I can see the properties of the items, perhaps the results of a search, or a filter on the project browser.
thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Get a list of all use cases
« Reply #1 on: June 15, 2010, 04:25:33 pm »
use the search.
If the normal search won't work for you you can use SQL search.
Try this query:
Quote
select c.ea_guid AS CLASSGUID,c.Object_Type as CLASSTYPE,c.Name as Name
from t_object c
where
c.Object_Type = 'UseCase'
and c.name like '<Search Term>'

Geert

brumblue

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Get a list of all use cases
« Reply #2 on: June 15, 2010, 10:29:57 pm »
thanks Geert, the SQL search works well.

I have also now realised that I can create a search using Search Builder to do this (via the Manage Searches option).

I was expecting the basic "simple" search to allow this sort of thing eg. filter on object type or have a non-blank search string, but know better now.

Rik