Skip to content

InsertActivity

Helmut.Ortmann edited this page Oct 5, 2017 · 1 revision

Insert Activity

Making a loop you can:

  1. Make a Composite Activiy
  2. Make an Activity and put some Actions inside it

For complex loops I prefer the Composite Activity. For small one I use the simple Activity and put some Actions inside it.

See also: Pattern

Procedure

  1. Put some C-Code into intput field

  2. Select a node in the Activity Diagram

  3. Click 'I'

  4. hoReverse translates the code into Nodes and connect them like

    • Atomic Action
    • Call Action if hoReverse finds an operation
    • Switch Case
    • Connector with / without [guards]

Example

Insert Activity

Complete

Thw examples, one lazy without init and final and the other more complete.

Composite Activity

For contrast see the Composition Activiy.

References

Clone this wiki locally