I'm trying to model an application with UML, and need some help.
- The program starts every 60 seconds by a system timer.
- The program is started with an argument called
Type - The first time the program i started after a system reboot, the program is started with argument 1.
- The program do what i should do, and get a new
Type - The program update the system timer so that the next time the program is started, it get the new
Typeas argument. - The program then ends.
I'm thinking of modeling this with an activity diagrams, but do not know how.
I made the following experiment. Is that correct, or is it something that needs to be changed or can be improved?


BX1parallel? do you allow more than one instance of the program to be active at one stage? - vainolo