Book a Demo

Author Topic: Filter a parent element only without its child  (Read 2374 times)

MV

  • EA User
  • **
  • Posts: 65
  • Karma: +1/-0
    • View Profile
Filter a parent element only without its child
« on: August 03, 2011, 11:49:59 am »
Hi ,

Is it possible to filter a parent element in RTF template without filtering its child.

I am trying to filter a BPMN Lane element. This element contains some activity elements as child. Filter i am using is stereotype is of type Lane. This filter is excluding child elements also from RTF. Is there a way to avoid this behaviour so that child elements are included.

Thanks / Cheers

Fred Bevan

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Filter a parent element only without its child
« Reply #1 on: August 03, 2011, 11:48:40 pm »
Using the RTF generator, filters apply to all elements. This is a significant problem that has been reported to Sparx by me and others.

I have many instances where I need to create a report that includes:
 - Elements of stereotype X and connected elements of stereotype Y

Sparx has confirmed that this cannot be done using the RTF generator. However, starting with version 9, it can be achieved through scripting. It is not trivial, but if you want to go that route, have a look at the example script, "Documentation Example".

I would also encourage you to contact Sparx directly to request that the filtering capabilities of their RTF generator be enhanced to meet your requirement. I think this is a major weakness with the tool.