Activity Diagrams
Activity Diagrams
DIAGRAMS
WHAT IS AN ACTIVITY DIAGRAM?
• Merge Node :Bring back together different decision paths that were created using a decision-node.
• Fork Node : Split behavior into a set of parallel or concurrent flows of activities (or actions)
• Join Node : Bring back together a set of parallel or concurrent flows of activities (or actions).
ACTIVITY DIAGRAM EXAMPLE - PROCESS
ORDER
• Given the problem description related to the workflow for processing an order,
let's model the description in visual representation using an activity diagram:
Process Order - Problem Description
• Once the order is received, the activities split into two parallel sets of activities.
One side fills and sends the order while the other handles the billing.
• On the Fill Order side, the method of delivery is decided conditionally. Depending
on the condition either the Overnight Delivery activity or the Regular Delivery
activity is performed.
• Finally the parallel activities combine to close the order.
EXAMPLE