Sounds like you could use an accept-event action to wait for an intruder alarm, then use a call-behavior action to call the SMS-sending activity.
Identifying activities in Activity diagrams [closed]
-
28-06-2022 - |
Question
I need to create an activity diagram for particular SMS sending task from a computer. Following is the SMS process
- prepare message
- search for the dongle
- if dongle found then connect to it else display an error message and stop
- send message
- display success or fail message and stop
But the problem here is, this SMS sending activity ONLY get called when an intruder alarm is raised. So, should I add this to the diagram as well? If I add it, the process will looks like below
- Alarm raised
- prepare message
- search for the dongle
- if dongle found then connect to it else display an error message and stop
- send message
- display success or fail message and stop
Which way should I follow? Please help.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow