"do" in State Diagrams

Hello,

Could you please explain again what the optional “do” in a state of a state diagram stands for?

As far as I can tell, there is no explanation in the slides and I neglected to ask this in person today.

Thank you in advance.

Hello,

the “do“ describes an ongoing and interruptible activity that takes place while the system is inside a specific state. Unlike instant entry or exit actions, a do activity takes time to complete and is immediately stopped if an event triggers a transition to another state.

1 Like