Author Topic: Generating structured scenario from activity diagram with composite diagram  (Read 3292 times)

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Hi,

I'm trying to generate a structured scenario from an activity diagram that includes activities with a sub activity diagram as composite diagram. Apparently the generator isn't able to recognize the composite diagram. Instead I get an error saying that the validation failed because of an invalid element used in the diagram. Looking up this invalid element it points to the activity with the composite diagram.

Is there anyway to work around this, apart from making a sub use case out of the composite diagram?

Rick

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13240
  • Karma: +553/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
I've only ever used to the other way around; make a scenario and then generate the diagram.

Geert

Gary

  • EA User
  • **
  • Posts: 84
  • Karma: +1/-0
    • View Profile
I have created scenarios from activity diagrams but cannot get your stated usage to work either. It does not work for activities with composite set to true even if you add the diagramType tag value to that activity. I have also tried auto generating an activity diagram and then recreating the scenario from it which works until you add a composite diagram to one of the activities.

I suggest deselecting composite, create the scenario and then re-add the composite to the activity after successful scenario generation.

Hope this helps/makes sense

Gary