It's all about the answers!

Ask a question

Can RDNG do computations from multiple values in as a single article?


Melinda Huelar (111) | asked Jul 30, 6:34 p.m.
  1. Customer using IBM Engineering Requirements Management DOORS Next.  Version is 7.0.2.
    1. Customer wants to use different values associated with different types of data and different types of unit of measure; and wants to retain-- identify in a single artifact.  The attribute field will be simply named "Quantity" .

     Over simplified Examples: 
       Artifact 1 contains the following info in the attribute field named Quantity:
          Days = 1.5 Days
          Apple Harvested = 10  
          Orange Harvested = 20
          Pickers =  2
     
      Attribute 2 contains a different set of info, but also to be listed under the attribute field named Quantity:
          Horses = 5
          Cows = 2
           Truck = 1   
    Is there any way I can do computations for the above within RDNG, or using the report builder? 

One answer



permanent link
Davyd Norris (2.5k217) | answered Jul 30, 7:18 p.m.
The answer is a qualified yes to the first, and a definite yes to the second:
 - you can reasonably easily create a custom RM client extension that will run through a set of selected artefacts, perform the calculation, and store the result in another custom attribute. There are several examples of how to do this in the sample code that's supplied with the RM Client API (have a look at the ASIL checker example widget)


 - you can perform calculations in Report Builder using a Custom Attribute. If you are using the Data Warehouse data source then any valid SQL can be used to perform the calculation. For the LQE data source, it can be any valid SPARQL.

Your answer


Register or 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.