Book a Demo

Author Topic: Generation structured scenario from diagram fails  (Read 5131 times)

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Generation structured scenario from diagram fails
« on: October 26, 2015, 10:27:04 pm »
Hi,

I'm trying to generate a structured scenario in a use case from an activity diagram. The validation however keeps failing on some - not all - decision symbols not having an outgoing control flow. I have replaced the decision symbols, control flows and activities they lead to, but still the validation fails. Any suggestions on how to correct this problem?

Gary

  • EA User
  • **
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: Generation structured scenario from diagram fa
« Reply #1 on: October 28, 2015, 02:57:21 am »
Make sure the activity that the activity diagram sits under has a tagged value called diagramType with a value of ActivityGraph.
For decisions make sure they have a guard, as these get translated into the alternate flow titile. If they do not have a guard then you get  the error you are seeing.

Gary
« Last Edit: October 28, 2015, 02:57:53 am by u1rvkt »

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Generation structured scenario from diagram fa
« Reply #2 on: October 30, 2015, 12:26:44 am »
Gary,
thanks for your reply but unfortunately I keep getting the same error although I have double checked all decision symbols and all outgoing control flows have guards.

I've tried stereotyping the flows as 'decision flow' but that doesn't do the trick as well.

Perhaps you have some more suggestions? ::)

Gary

  • EA User
  • **
  • Posts: 84
  • Karma: +1/-0
    • View Profile
Re: Generation structured scenario from diagram fa
« Reply #3 on: October 30, 2015, 02:41:14 am »
One more thing to try. Make sure one of the control flows leaving a decision does not have a guard. This one will get interpreted as the main flow. If all the control flows leaving a decision have guards it will error.

Gary

mrblack12

  • EA User
  • **
  • Posts: 67
  • Karma: +0/-0
    • View Profile
Re: Generation structured scenario from diagram fa
« Reply #4 on: November 03, 2015, 02:39:29 am »
That did the trick! Much obliged....