Book a Demo

Author Topic: Filter for "difficulty" in a requirement?  (Read 2705 times)

Roland Ziegler

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Filter for "difficulty" in a requirement?
« on: August 19, 2010, 07:51:18 pm »
Hi there,

I'm trying to search a model (Model Search) for "Requirement" elements where the "Difficulty" element field is set to "High" (or any other value) - without success.

Searching for "Priority" set to "High" does work.

Any specific tricks here which I missed?

EA 8.0 build 861


Thank you

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Filter for "difficulty" in a requirement?
« Reply #1 on: August 19, 2010, 08:55:50 pm »
I'm guessing you are trying this using the search builder?
I always use the SQL search type.
The Difficulty is stored in pdata3
You can use something like this:
Code: [Select]
select o.ea_guid as CLASSGUID,o.object_type as CLASSTYPE,o.name as Name
from t_object o
where  o.Object_Type = 'Requirement'
and o.pdata3 like 'High'
and o.name like '<Search Term>'

Geert

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Filter for "difficulty" in a requirement?
« Reply #2 on: August 19, 2010, 10:19:03 pm »
(( All "difficult" requirements are intentionally hidden. ))
b
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Roland Ziegler

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Filter for "difficulty" in a requirement?
« Reply #3 on: August 20, 2010, 12:06:30 am »
Quote
(( All "difficult" requirements are intentionally hidden. ))
That seems to be the case.  ;)


Quote
I'm guessing you are trying this using the search builder?
I always use the SQL search type.
The Difficulty is stored in pdata3
Actually I was hoping for a solution with the standard "Search Builder". However, the SQL query provided does the trick. Problem solved, technically speaking. Thanks a lot.
 
But how would you know that pdata3 stands for "Difficulty" (context dependent I guess)?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Filter for "difficulty" in a requirement?
« Reply #4 on: August 20, 2010, 01:52:52 am »
Quote
But how would you know that pdata3 stands for "Difficulty" (context dependent I guess)?

Trial and error ::)

Geert