How to do nested repeat loops in activity diagram

0 votes
asked Aug 3 in Question / help by rd27 (460 points)

How can I do nested repeat loops in activity diagram? The following doesn't seem to work...

  : step 1;
    : model 1
  repeat while () (100)
  : sleep 5s;
repeat while () is (infinite)

1 Answer

0 votes
answered Aug 3 by Martin

I think you've just got two syntax problems.  You're missing a ";" after "model 1".  And you're missing an "is" in your first "repeat while".  So if I add those, I get:

Is that what you wanted?