ReportWriter:Activity Diagram

Hi,
I want to show a static text “NO ACTIVITY ELEMENT”, if in my activity diagram there are not any elementType =“Activity”.
In my template I write:

    <HasChildElementChecker elementType= "Activity" flag ="false">
     <StaticText content = "Detail Activity: " style = "Heading 4"/>
     <ParagraphBreak/>
     <StaticText content = "NO ACTIVITY ELEMENT" style = "Table Contents"/>
    </HasChildElementChecker>
  
     <HasChildElementChecker elementType= "Activity" flag ="true">
     <StaticText content = "Detail Activity: " style = "Heading 4"/>
     <ParagraphBreak/>
     <StaticText content = "YES ACTIVITY ELEMENT" style = "Table Contents"/>
    </HasChildElementChecker>


but this code don’t work…
If there are activity element in my activity diagram , the text “YES ACTIVITY ELEMENT” shows in my document, inf there aren’t activity element in my activity diagram, the text “NO ACTIVITY ELEMENT” don’t show in my document generete whit report writer. Why???

tks

Hi user,

Thanks for your post. It seems that this post is a duplicated one, please refer to http://forums.visual-paradigm.com/posts/list/6627.html for details of this issue.

Best regards,
Lilian Wong