Author Topic: Looping within an Activity Model (2)  (Read 1308 times)


  • EA Novice
  • *
  • Posts: 12
  • Karma: +1/-0
  • Curious about stuff ... including how to use EA
    • View Profile
    • Rethinking Transport
Looping within an Activity Model (2)
« on: July 31, 2021, 06:04:12 am »

I'd really appreciate your help to un-block a problem with my EA model. I'd like to add a loop to my Activity Diagram, but I can't make sense of the help topic at: Usually, I can work through an example and make it work in EA, but not with Loop Nodes !

Can anyone provide any general guidance on how to make them work, or ideally provide a worked example of a really basic loop which models what can simply be implemented in Javascript as:for (var i=0; i<10; i++) {console.log("This will print 10 times);}, where the console log is replaced with a Trace.

I want to replace the console.log with another more detailed Activity Diagram that I have already modelled in EA, so I don't think I can use straight Javascript (but please correct me if I am wrong) and so I think I am forced to try and understand Loop Nodes.

Many thanks, in advance for your help,

Rethinking Transport
Rethinking Transport
- A Transport consultancy with a difference