It's all about the answers!

Ask a question

Conditions on Diagrams in IBM Rhapsody in IBM RPE Report Template


Prashanth Manohar Gopi (1512) | asked Jan 18 '21, 2:03 a.m.
edited Jan 18 '21, 2:03 a.m.

 Hi All,


I wanted to know how to add conditions on Image elements having rhapsody query in RPE report.

If Image is found it must return the Rhapsody image

If image is not found it must return NA

Please help me on this.





2 answers



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Jan 18 '21, 3:06 a.m.
edited Jan 28 '21, 2:24 a.m.

You can use a RPE variable and assign true/false value to it based on whether the package has diagrams in it or not. 

Use 2 containers - one to print diagrams (with condition hasDiagrams=="true") and another with Text element that prints "NA" (with condition hasDiagrams=="false").


Comments
Prashanth Manohar Gopi commented Jan 18 '21, 6:24 a.m.

Can you please elaborate more on the procedure how to add conditions on Image element and text element in IBM RPE??? 


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Feb 08 '21, 12:54 p.m.

Within the query that gives the diagrams, set the variable value to true and reset it to false outside the query (after printing the text "NA" based on condition hasDiagrams=="false". Attaching the screenshot for reference.

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.