1

I am very new to UML and UML activity diagrams. my question is suppose in a student course registration system after student successfully login to the system there are 3 options add course, delete course or review courses then how we can implement this in UML activity diagram.

can I use fork here ? but I know fork is used when there is simultaneous actions. this is not simultaneous action. student can either add course delete course or review course. can anyone help me? any help is appreciated.

Christophe
81.9k11 gold badges135 silver badges201 bronze badges
asked Mar 21, 2020 at 16:18

1 Answer 1

2

In an activity diagram, if there is a decision which could lead to three different flows, you should use a decision node with guards. This means that only one path is chosen. The three paths would probably be merged again at some time.

The fork, as you rightly noticed, is for concurrent action. It would mean that all three activities are performed at the same time. A join would then synchronise the three parallel flows before continuing. This is not what you want here.

answered Mar 21, 2020 at 16:44

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.