Book a Demo

Author Topic: setup a loop activity  (Read 12519 times)

tkbss

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
setup a loop activity
« on: September 29, 2009, 01:00:55 am »
As a ea beginner i could not setup a structured activity as a lopp in an activity diagram. As far as I understand should such an activity consist out of three sections setup, test and body. How do you construct this sections and how do you assign other activities to this sections?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: setup a loop activity
« Reply #1 on: September 29, 2009, 04:10:48 pm »
I'm not entirely sure, but this is how I think it should be done.
- First create a structured activity. (keep ctrl key down when you drag the activity to the diagram to get the different options)
- Then right-click advanced/partition activity
- Here you create the setup/body/test sections.
- Then add the required actions to the different sections of your activity.

PS. If you want to execute another activity within one of the sections of your loop you should use a "CallBehaviour" Action, and assign the activity to this Action (in the Call tab).

Geert

PiotrS24

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: setup a loop activity
« Reply #2 on: October 18, 2009, 03:34:17 am »
Hello,

I have Corporate EA, Call tab is only in Ultimate or I (maybe) can't find it ?

Thans ...

Piotr

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: setup a loop activity
« Reply #3 on: October 18, 2009, 11:35:11 pm »
No, this is definitely a standard UML feature in all versions of EA.
Hold the control button when you drag a new Action on the diagram and you should get the different options amongst which the "CallBehavior"

If you already have an action you can change its kind by right clicking and selecting Advandced/Custom Properties

Geert