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

Conditions on Diagrams in IBM Rhapsody in IBM RPE Report Template

 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.





0 votes



2 answers

Permanent link

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").

0 votes

Comments

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


Permanent link

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.

0 votes

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,019

Question asked: Jan 18 '21, 2:03 a.m.

Question was seen: 1,445 times

Last updated: Feb 08 '21, 12:54 p.m.

Related questions
Confirmation Cancel Confirm