Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to create a simple query using the RSA Design Manager query editor?

I want to create a query to find the followng elements:

Find all the UML Ports that are of type ShippingService.

I cannot for the life of me figure out how to do this using the RSA DM Query Editor -- I can't figure out what would be the proper conditions and how to define them.  Any help is greatly appreciated.

0 votes


Accepted answer

Permanent link
The following query should do what you expect. A 'Type' condition to query for UML ports only, and a 'Property Resource' condition with the property 'Type' referring to the resource 'ShippingService'.

Query for UML ports of type ShippingService

Hope this helps.

Regards,
Thomas Mattsson
Todd Dunnavant selected this answer as the correct answer

0 votes

Comments

Thomas,

Thank you very much for your help!

As I'm certain you understand, there are some real challenges in using the DM query editor to create useful queries. The issues include:
-  Information overload. There are many times more schema elements to sift through than is the case in the other CLM tools.  Where are the references we can use to understand the available schema elements?
-  Lack of examples and helpful guidances.  There is a nice jazz.net article on creating RTC queries, but there is no equivalent article for DM -- and we sorely need one! There are enough differences between querying in DM and quering in the other CLM tools to warrant a DM - specific article.  Sample differences include the following:

  • Setting up property chains.  What is this all about, how is it useful, and how is it done?
  • Property resource conditions and property value conditions.  How are they used?
Any documentation on these (and other!) DM-unique aspects of querying would be greatly appreciated!

I've opened DM Query editor need additional documentation (43761) to track improved documentation on this.

For now, there's a video that will demonstrate some of the query editor features:
https://jazz.net/library/video/1085

As for property chains, they can be used to follow several properties. Let's say you want to find all the UML ports that have a type that in turn has a dependency to a certain element. Property chains would allow to create queries like that.

Property resource conditions follow properties that ends to certain resources, i.e. object properties. Resources that should match can be selected from the project.
Property value conditions follow properties that ends with a literal which in turn can be filtered.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Nov 13 '13, 2:50 p.m.

Question was seen: 4,236 times

Last updated: Nov 13 '13, 5:16 p.m.

Confirmation Cancel Confirm