Условие:
Activity Diagram: Hair Salon Operations
Departments:
- Reception: Handles appointments, customer check-in/out, payments.
- Styling: Performs hair services (cut, color, wash, style).
- Inventory/Supply: Manages product stock, orders supplies.
Actors: Customer, Stylist, Receptionist, Inventory Manager
Initial Node: Start of Salon Operations
Activities & Transitions:
-
Customer Arrives (Initial Node)
- Simple Transition: Customer Arrives -> Check-in Customer (Reception)
-
Check-in Customer (Reception)
- Event Transition: Check-in Customer -> (Appointment Confirmed) -> Seat Customer (Styling)
- Event Transition: Check-in Customer -> (No Appointment) -> Check for Availability (Reception)
-
Check for Availability (Reception)
- Decision Node (Branching): Check for Availability
- Guard Condition: [Available Stylist & Time] -> Book Walk-in Appointment (Reception)
- Guard Condition: [No Availability] -> Offer Reschedule/Decline Service (Reception)
- Decision Node (Branching): Check for Availability
-
Book Walk-in Appointment (Reception)
- Simple Transition: Book Walk-in Appointment -> Seat Customer (Styling)
-
Offer Reschedule/Decline Service (Reception)
- Simple Transition: Offer Reschedule/Decline Service -> Customer Departs (Final Node)
-
Seat Customer (Styling)
- Simple Transition: Seat Customer -> Consult with Customer (Styling)
-
Consult with Customer (Styling)
- Action Expression Transition: Consult with Customer -> /Determine Services/ -> Perform Hair Service (Styling)
-
Perform Hair Service (Styling)
- Fork Node (Parallel Processes): Perform Hair Service
- Path 1: Wash Hair (Styling)
- Path 2: Prepare Styling Station (Styling)
- Fork Node (Parallel Processes): Perform Hair Service
-
Wash Hair (Styling)
- Simple Transition: Wash Hair -> Cut/Color Hair (Styling)
-
Prepare Styling Station (Styling)
- Simple Transition: Prepare Styling Station -> (Join Node) -> Cut/Color Hair (Styling)
-
Cut/Color Hair (Styling)
- Simple Transition: Cut/Color Hair -> Style Hair (Styling)
-
Style Hair (Styling)
- Simple Transition: Style Hair -> Customer Review (Styling)
-
Customer Review (Styling)
- Decision Node (Branching): Customer Review
- Guard Condition: [Customer Satisfied] -> Proceed to Payment (Reception)
- Guard Condition: [Customer Not Satisfied] -> Adjust Service (Styling)
- Decision Node (Branching): Customer Review
-
Adjust Service (Styling)
- Simple Transition: Adjust Service -> Customer Review (Styling)
-
Proceed to Payment (Reception)
- Simple Transition: Proceed to Payment -> Process Payment (Reception)
-
Process Payment (Reception)
- Simple Transition: Process Payment -> Customer Departs (Final Node)
Object Flow:
- (Hair Product) from Inventory/Supply to Styling: Represents the flow of hair products from inventory to the styling area when needed for a service. This can be modeled as an object node 'Hair Product' with an object flow from 'Manage Product Stock' (Inventory/Supply) to 'Perform Hair Service' (Styling).
Final Node: Customer Departs

