+49 (30) 467086-20 service@microtool.de
Products » objectiF RM » Analyses » Create query » Create query type

Create query type

objectiF RM  comes with a certain number of query types that you can use for your queries. However, if you want to display data for which there are no query types yet, or if you have created your own artifacts and artifact relationships, you must create new query types based on them. A query type determines what properties are provided to an entity or relationship when you create a query. Thus, based on a query type, it is possible to create different queries that show different aspects.

  1. Open the window Products via eye with the command Show Products.
  2. Define a package and select the context menu command Create other/ Query Type.
  3. Give the query a name and select the entity/relationship to be evaluated later in the query under Entity from the dropdown menu.
  4. Specify a relationship under Detail Query Type that refers to the relationship between the elements you want to display.
    Example: You want to see all assigned test cases for requirements. Under Entity, enter Requirement and under Detail query type, select RequirementVerifiedByTestCase.
Good to know
If you later want to use the filters Assigned to project members or Editors in a query, you must select or create the correct query type for the query. In the query types, choose under Entity Associated project user to requirement, or Associated project user to test case. Under Associated Entities, select Project user or Project group.
  1. Under Associated Entities you will find all entities, relationships, or properties provided by the entity selected above. Limit the set by selecting the entities that are relevant to the query.
  1. Save with OK.