It's all about the answers!

Ask a question

IBM RPE/DNG: Delete Module Double


Guindo Niamkey Jean Frederic (29217) | asked Dec 07 '17, 12:06 p.m.

Hi Communauty
I created a report of traceabilty as the table below
I need to merge the colums “Module” and show one value “Module1”

it's possible to create this report please?
How I can do this please?

Requirements

Linked to

Module

Sample Req1

ExampleArtifactLinked  01

Module1

Sample Req2

ExampleArtifactLinked  02

Module1

Sample Req2

ExampleArtifactLinked 03

Module1

 WHERE
Sample Req1 and Sample Req2: are the artifacts in module context

ExampleArtifactLinked 01, 02, 03: are the artifacts in another module context "Module1"

Module1: is the module where the artifact “ExampleArtifactLinked” are used


This is very important and very urgent for me.

 

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k15) | answered Dec 14 '17, 4:27 a.m.

Since module names are not sorted, we cannot use the condition (title != name) to print Module name only once. You can try storing the Requirement ID, title and module (containing linked resource) in an array, sort the array and print the content of the array as explained in https://rpeactual.com/2014/08/12/arrays-in-rpe/

Guindo Niamkey Jean Frederic selected this answer as the correct answer

Comments
Guindo Niamkey Jean Frederic commented Dec 15 '17, 12:18 p.m.

Hi Pilar,
I tried to remove the duplicate names of modules with the link above.
but i can not. Can you please help me?
Please, this is very important for me

One other answer



permanent link
Subramanya Prasad Pilar (4.6k15) | answered Dec 08 '17, 2:14 a.m.

Do you need to merge the columns or rows (in 3rd column)?
If you are looking for the output that prints "Module 1" only once, you can add an internal variable (_mname) that holds the module name. Just add the following condition on the Paragraph/Text element that prints module name so that it will not be printed multiple times.
dataSource/artifact/title != mname



Comments
Guindo Niamkey Jean Frederic commented Dec 11 '17, 4:40 a.m.

Thank So much Pilar for your helps


Guindo Niamkey Jean Frederic commented Dec 13 '17, 8:05 a.m.

Hi Pilar.
The issue is still there
Find on the link my Template RPE and Sample of report generated.
The double name of module still exists.
Can you please explore my template and make a feedback please?
I'm waiting

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.