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.

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.