Book a Demo

Author Topic: Recursive Use Cases do not work with RTF Report Ge  (Read 4124 times)

DavidL

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Recursive Use Cases do not work with RTF Report Ge
« on: April 02, 2010, 05:33:40 am »
I have the following project browser hierarchy in my use cases:

My Package
  My Use Case 1
    My UC Diagram a
    My Use Case 2
      My UC Diagram b
      My Use Case 3
        My Activity Diagram I
      My Use Case 4

And so on.

I want to create an RTF document output that looks like the following:

1. My Use Case 1
Notes for My Use Case 1

My UC Diagram a

1.1 My Use Case 2
Notes for My Use Case 2

My UC Diagram b

1.1.1  My Use Case 3
Notes for My Use Case 3

My Activity Diagram I

1.1.1.1 My Use Case 4
Notes for My Use Case 4

And so on.....

The trouble is the RTF report generator will create information on:
1. My Use Case 1
Notes for My Use Case 1

My UC Diagram a

Without any problem. I can not get the report generator to recurse down the use case hierarchy.

Any ideas?


Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Recursive Use Cases do not work with RTF Repor
« Reply #1 on: April 02, 2010, 11:04:54 am »
A common trap for young players of EA - fell into it myself a few years ago. Try ticking the "child elements" item in the explorer view (left pane) of the template editor. That should enable the recursion.
Hope that helps.
Happy to help
:)

DavidL

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Recursive Use Cases do not work with RTF Repor
« Reply #2 on: April 06, 2010, 01:08:34 am »
Selecting "Child Elements" gets me one level down. It does not seem to recurse many levels down.  Here is what I have selected:



Here is a picture of my project browser and of the complete document that gets generated with I select the Use Case 1 and use the template shown above:

« Last Edit: April 06, 2010, 01:23:57 am by davidl »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Recursive Use Cases do not work with RTF Repor
« Reply #3 on: April 06, 2010, 08:14:00 am »
Include the Child Elements section, but leave it empty.  This instructs the generator to re-use the normal element section for child elements.

DavidL

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Recursive Use Cases do not work with RTF Repor
« Reply #4 on: April 07, 2010, 05:01:49 am »
That solved the problem. Thanks for the help.